summaryrefslogtreecommitdiffstats
path: root/src/grpconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grpconv.c')
-rw-r--r--src/grpconv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/grpconv.c b/src/grpconv.c
index 57d8d58e..591c8b10 100644
--- a/src/grpconv.c
+++ b/src/grpconv.c
@@ -36,7 +36,7 @@
/*
* Global variables
*/
-const char *Prog;
+static const char Prog[] = "grpconv";
static bool gr_locked = false;
static bool sgr_locked = false;
@@ -123,7 +123,6 @@ int main (int argc, char **argv)
const struct sgrp *sg;
struct sgrp sgent;
- Prog = Basename (argv[0]);
log_set_progname(Prog);
log_set_logfd(stderr);
@@ -133,7 +132,7 @@ int main (int argc, char **argv)
process_root_flag ("-R", argc, argv);
- OPENLOG ("grpconv");
+ OPENLOG (Prog);
process_flags (argc, argv);