summaryrefslogtreecommitdiff
path: root/src/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chmod.c')
-rw-r--r--src/chmod.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 8002ef5f3..80fc363aa 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -58,9 +58,6 @@ enum Verbosity
V_off
};
-/* The name the program was run with. */
-char const *program_name;
-
/* The desired change to the mode. */
static struct mode_change *change;
@@ -394,7 +391,7 @@ main (int argc, char **argv)
int c;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);