aboutsummaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
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";