aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
committerRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
commitcd45e5435762d8c6cd13287df7df16b97755176e (patch)
treeef0c7fb0a96e103e2a0dd79ee8c0f47f62ae7174 /src/mountinfo.c
parent2f7218c9849e667ba20d76e4dfe46b4bb195063a (diff)
Introduce cbasename so we don't have to strdup(basename) and free all the time.
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c
index ad76d32d..05ce8dd7 100644
--- a/src/mountinfo.c
+++ b/src/mountinfo.c
@@ -43,7 +43,6 @@
#include <errno.h>
#include <getopt.h>
-#include <libgen.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
@@ -367,8 +366,6 @@ int mountinfo (int argc, char **argv)
int result;
bool quiet;
- applet = basename (argv[0]);
-
/* Ensure that we are only quiet when explicitly told to be */
unsetenv ("EINFO_QUIET");