aboutsummaryrefslogtreecommitdiffstats
path: root/src/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/id.c')
-rw-r--r--src/id.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/id.c b/src/id.c
index 53cb0f47f..14b558d65 100644
--- a/src/id.c
+++ b/src/id.c
@@ -44,9 +44,6 @@ static int just_context = 0;
static void print_user (uid_t uid);
static void print_full_info (const char *username);
-/* The name this program was run with. */
-char const *program_name;
-
/* If true, output user/group name instead of ID number. -n */
static bool use_name = false;
@@ -121,7 +118,7 @@ main (int argc, char **argv)
bool just_user = false;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);