aboutsummaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-08 14:50:47 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-08 14:50:47 +0000
commit55ffdbb2e8d0db01a1f99cbb71af91a48260262d (patch)
treefc86ee9610aecb7aeebac03116d15a6b4ef51a9a /mount.c
parent92e93fffd2823af7fbeed286a876545e83caf009 (diff)
downloadbusybox-w32-55ffdbb2e8d0db01a1f99cbb71af91a48260262d.tar.gz
busybox-w32-55ffdbb2e8d0db01a1f99cbb71af91a48260262d.tar.bz2
busybox-w32-55ffdbb2e8d0db01a1f99cbb71af91a48260262d.zip
Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler
BB_FEATURE_USE_DEVPS_PATCH. -Erik git-svn-id: svn://busybox.net/trunk/busybox@401 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mount.c b/mount.c
index f46664bf4..c29be5106 100644
--- a/mount.c
+++ b/mount.c
@@ -46,7 +46,7 @@
46#include <sys/mount.h> 46#include <sys/mount.h>
47#include <ctype.h> 47#include <ctype.h>
48#include <fstab.h> 48#include <fstab.h>
49#if defined BB_FEATURE_USE_DEVPS_N_DEVMTAB 49#if defined BB_FEATURE_USE_DEVPS_PATCH
50#include <linux/devmtab.h> 50#include <linux/devmtab.h>
51#endif 51#endif
52 52
@@ -255,7 +255,7 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
255 fclose(f); 255 fclose(f);
256 } else 256 } else
257#endif 257#endif
258#if defined BB_FEATURE_USE_DEVPS_N_DEVMTAB 258#if defined BB_FEATURE_USE_DEVPS_PATCH
259 if (strcmp(filesystemType, "auto") == 0) { 259 if (strcmp(filesystemType, "auto") == 0) {
260 int fd, i, numfilesystems; 260 int fd, i, numfilesystems;
261 char device[] = "/dev/mtab"; 261 char device[] = "/dev/mtab";
@@ -325,7 +325,7 @@ extern int mount_main(int argc, char **argv)
325 /* Only compiled in if BB_MTAB is not defined */ 325 /* Only compiled in if BB_MTAB is not defined */
326 whine_if_fstab_is_missing(); 326 whine_if_fstab_is_missing();
327 327
328#if defined BB_FEATURE_USE_DEVPS_N_DEVMTAB 328#if defined BB_FEATURE_USE_DEVPS_PATCH
329 if (argc == 1) { 329 if (argc == 1) {
330 int fd, i, numfilesystems; 330 int fd, i, numfilesystems;
331 char device[] = "/dev/mtab"; 331 char device[] = "/dev/mtab";