summaryrefslogtreecommitdiff
path: root/src/rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmdir.c')
-rw-r--r--src/rmdir.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rmdir.c b/src/rmdir.c
index 4ed2f7742..64575b091 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -38,9 +38,6 @@
#define AUTHORS proper_name ("David MacKenzie")
-/* The name this program was run with. */
-char const *program_name;
-
/* If true, remove empty parent directories. */
static bool remove_empty_parents;
@@ -193,7 +190,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);