summaryrefslogtreecommitdiffstats
path: root/src/fnid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fnid.c')
-rw-r--r--src/fnid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fnid.c b/src/fnid.c
index 6a81189..c8e5fc8 100644
--- a/src/fnid.c
+++ b/src/fnid.c
@@ -33,10 +33,10 @@
#include "xnls.h"
#include "idfile.h"
#include "iduglobal.h"
+#include "progname.h"
void usage (void);
-char const *program_name;
static int show_version = 0;
static int show_help = 0;
static struct file_link *cw_dlink;
@@ -86,7 +86,7 @@ using shell-style wildcards.\n\
int
main (int argc, char **argv)
{
- program_name = argv[0];
+ set_program_name (argv[0]);
idh.idh_file_name = 0;
#if ENABLE_NLS