[BusyBox] [PATCH] mtab fix

Magnus Damm damm at opensource.se
Thu Oct 4 07:36:01 UTC 2001


Hi again,

BB_FEATURE_MTAB_SUPPORT is broken in 0.60.1 

Here's a fix!

Thanks /

magnus
-------------- next part --------------
diff -urN busybox-0.60.1/libbb/mtab_file.c busybox-0.60.1-mtab/libbb/mtab_file.c
--- busybox-0.60.1/libbb/mtab_file.c	Wed Apr 25 19:03:40 2001
+++ busybox-0.60.1-mtab/libbb/mtab_file.c	Thu Oct  4 15:23:25 2001
@@ -31,7 +31,7 @@
 
 /* Busybox mount uses either /proc/mounts or /dev/mtab to 
  * get the list of currently mounted filesystems */ 
-#if defined BB_FEATURE_MOUNT_MTAB_SUPPORT
+#if defined BB_FEATURE_MTAB_SUPPORT
 const char mtab_file[] = "/etc/mtab";
 #else
 #  if defined BB_FEATURE_USE_DEVPS_PATCH


More information about the busybox mailing list