summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-04 21:18:07 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-04 21:18:07 +0000
commitd0246fb72b40320a74376af1bb944fef2c9b734f (patch)
tree9fa93d2acf052107f2b682ce2e77725eb7ec9d84 /utility.c
parent3ae0c789627a29dbd76793eb666efe19144b30f0 (diff)
downloadbusybox-w32-d0246fb72b40320a74376af1bb944fef2c9b734f.tar.gz
busybox-w32-d0246fb72b40320a74376af1bb944fef2c9b734f.tar.bz2
busybox-w32-d0246fb72b40320a74376af1bb944fef2c9b734f.zip
More stuff.
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/utility.c b/utility.c
index 26568320f..125e819ed 100644
--- a/utility.c
+++ b/utility.c
@@ -36,6 +36,15 @@
36#include <unistd.h> 36#include <unistd.h>
37#include <ctype.h> 37#include <ctype.h>
38 38
39#ifdef BB_MTAB
40const char mtab_file[] = "/etc/mtab";
41#else
42#if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF
43const char mtab_file[] = "/proc/mounts";
44#endif
45#endif
46
47
39/* volatile so gcc knows this is the enod of the line */ 48/* volatile so gcc knows this is the enod of the line */
40volatile void usage(const char *usage) 49volatile void usage(const char *usage)
41{ 50{