diff options
author | Roy Marples <roy@marples.name> | 2008-02-11 20:14:09 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-11 20:14:09 +0000 |
commit | 567f8e33f2f7d951237996b6b2dd60189515754d (patch) | |
tree | 8a44f7ff0da9e5022bdbb519a08fd5fc975838b3 /src/rc/fstabinfo.c | |
parent | 5e470afb5251fdd51188999e23a7d9c2bbfe657c (diff) |
Just use the extern applet var.
Diffstat (limited to 'src/rc/fstabinfo.c')
-rw-r--r-- | src/rc/fstabinfo.c | 4 |
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"); |