diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-11-05 00:18:07 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-11-05 00:18:07 +0300 |
commit | d0246fb72b40320a74376af1bb944fef2c9b734f (patch) | |
tree | 9fa93d2acf052107f2b682ce2e77725eb7ec9d84 /utility.c | |
parent | 3ae0c789627a29dbd76793eb666efe19144b30f0 (diff) |
More stuff.
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -36,6 +36,15 @@ #include <unistd.h> #include <ctype.h> +#ifdef BB_MTAB +const char mtab_file[] = "/etc/mtab"; +#else +#if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF +const char mtab_file[] = "/proc/mounts"; +#endif +#endif + + /* volatile so gcc knows this is the enod of the line */ volatile void usage(const char *usage) { |