aboutsummaryrefslogtreecommitdiff
path: root/src/rc/fstabinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/fstabinfo.c')
-rw-r--r--src/rc/fstabinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rc/fstabinfo.c b/src/rc/fstabinfo.c
index 446f9bee..98d16fdf 100644
--- a/src/rc/fstabinfo.c
+++ b/src/rc/fstabinfo.c
@@ -86,7 +86,7 @@ static struct mntent *getmntfile (const char *file)
}
#endif
-static const char *applet = NULL;
+extern const char *applet;
#include "_usage.h"
#define getoptstring "bmop:t:" getoptstring_COMMON
@@ -128,8 +128,6 @@ int fstabinfo (int argc, char **argv)
char *file;
bool filtered = false;
- applet = basename_c (argv[0]);
-
/* Ensure that we are only quiet when explicitly told to be */
unsetenv ("EINFO_QUIET");