summaryrefslogtreecommitdiff
path: root/src/touch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/touch.c')
-rw-r--r--src/touch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/touch.c b/src/touch.c
index b8e4f2e1c..bbc9c6012 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -48,9 +48,6 @@
#define CH_ATIME 1
#define CH_MTIME 2
-/* The name by which this program was run. */
-char const *program_name;
-
/* Which timestamps to change. */
static int change_times;
@@ -280,7 +277,7 @@ main (int argc, char **argv)
char const *flex_date = NULL;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);