diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-04 21:18:07 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-04 21:18:07 +0000 |
commit | 6f170b087c83ea252fc3aff6f5ecafe0ec721fba (patch) | |
tree | 9fa93d2acf052107f2b682ce2e77725eb7ec9d84 /utility.c | |
parent | bef8b2f54d6b9421ae78bcba433832ba16d5b76f (diff) | |
download | busybox-w32-6f170b087c83ea252fc3aff6f5ecafe0ec721fba.tar.gz busybox-w32-6f170b087c83ea252fc3aff6f5ecafe0ec721fba.tar.bz2 busybox-w32-6f170b087c83ea252fc3aff6f5ecafe0ec721fba.zip |
More stuff.
git-svn-id: svn://busybox.net/trunk/busybox@74 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | utility.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 | ||
40 | const char mtab_file[] = "/etc/mtab"; | ||
41 | #else | ||
42 | #if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF | ||
43 | const 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 */ |
40 | volatile void usage(const char *usage) | 49 | volatile void usage(const char *usage) |
41 | { | 50 | { |