summaryrefslogtreecommitdiff
path: root/src/groups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/groups.c')
-rw-r--r--src/groups.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/groups.c b/src/groups.c
index c67ac6e0a..ef9640005 100644
--- a/src/groups.c
+++ b/src/groups.c
@@ -29,9 +29,6 @@
#include "error.h"
#include "group-list.h"
-/* The name this program was run with. */
-char const *program_name;
-
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "groups"
@@ -76,7 +73,7 @@ main (int argc, char **argv)
uid_t ruid;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);