summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index c42fad87f..db83c59df 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -42,9 +42,6 @@
# define endgrent() ((void) 0)
#endif
-/* The name the program was run with. */
-char const *program_name;
-
/* The argument to the --reference option. Use the group ID of this file.
This file must exist. */
static char *reference_file;
@@ -184,7 +181,7 @@ main (int argc, char **argv)
int optc;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);