diff options
Diffstat (limited to 'src/hostid.c')
-rw-r--r-- | src/hostid.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hostid.c b/src/hostid.c index e481c1c1e..dbcb98df8 100644 --- a/src/hostid.c +++ b/src/hostid.c @@ -33,9 +33,6 @@ #define AUTHORS proper_name ("Jim Meyering") -/* The name this program was run with, for error messages. */ -char const *program_name; - void usage (int status) { @@ -64,7 +61,7 @@ main (int argc, char **argv) unsigned int id; initialize_main (&argc, &argv); - program_name = argv[0]; + set_program_name (argv[0]); setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); |