use getprogname() instead of __progname
Authored by: sms00 2025-01-29
Parent: [r3515]
Child: [r3517]