diff options
Diffstat (limited to 'src/uname.c')
-rw-r--r-- | src/uname.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/uname.c b/src/uname.c index 4691afc5c..3870dfa3d 100644 --- a/src/uname.c +++ b/src/uname.c @@ -86,9 +86,6 @@ /* Operating system. */ #define PRINT_OPERATING_SYSTEM 128 -/* The name this program was run with, for error messages. */ -char const *program_name; - static struct option const uname_long_options[] = { {"all", no_argument, NULL, 'a'}, @@ -269,7 +266,7 @@ main (int argc, char **argv) unsigned int toprint = 0; initialize_main (&argc, &argv); - program_name = argv[0]; + set_program_name (argv[0]); setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); |