diff options
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stat.c b/src/stat.c index 7b750a085..0d52c27b1 100644 --- a/src/stat.c +++ b/src/stat.c @@ -173,8 +173,6 @@ static struct option const long_options[] = { {NULL, 0, NULL, 0} }; -char const *program_name; - /* Whether to follow symbolic links; True for --dereference (-L). */ static bool follow_links; @@ -1005,7 +1003,7 @@ main (int argc, char *argv[]) bool ok = true; initialize_main (&argc, &argv); - program_name = argv[0]; + set_program_name (argv[0]); setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); |