summaryrefslogtreecommitdiff
path: root/src/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/head.c')
-rw-r--r--src/head.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/head.c b/src/head.c
index a52f151cf..7a0e2ada9 100644
--- a/src/head.c
+++ b/src/head.c
@@ -64,9 +64,6 @@ enum header_mode
multiple_files, always, never
};
-/* The name this program was run with. */
-char const *program_name;
-
/* Have we ever read standard input? */
static bool have_read_stdin;
@@ -920,7 +917,7 @@ main (int argc, char **argv)
char const *const *file_list;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);