diff options
Diffstat (limited to 'src/pathchk.c')
-rw-r--r-- | src/pathchk.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index 821fe335b..48001fc03 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -71,9 +71,6 @@ static bool validate_file_name (char *, bool, bool); -/* The name this program was run with. */ -char const *program_name; - /* For long options that have no equivalent short option, use a non-character as a pseudo short option, starting with CHAR_MAX + 1. */ enum @@ -121,7 +118,7 @@ main (int argc, char **argv) int optc; initialize_main (&argc, &argv); - program_name = argv[0]; + set_program_name (argv[0]); setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); |