[BusyBox-cvs] CVS update of busybox/libbb (loop.c)

Glenn McGrath bug1 at codepoet.org
Fri Jun 25 09:01:10 UTC 2004


    Date: Friday, June 25, 2004 @ 03:01:10
  Author: bug1
    Path: /var/cvs/busybox/libbb

Modified: loop.c (1.9 -> 1.10)

Revert my previous commit


Index: busybox/libbb/loop.c
diff -u busybox/libbb/loop.c:1.9 busybox/libbb/loop.c:1.10
--- busybox/libbb/loop.c:1.9	Fri Jun 25 01:47:03 2004
+++ busybox/libbb/loop.c	Fri Jun 25 03:01:09 2004
@@ -31,10 +31,11 @@
  * so we get to try and cope as best we can... */
 #include <linux/version.h>
 #include <asm/posix_types.h>
-#if LINUX_VERSION_CODE >= 0x20600
-#define __bb_kernel_dev_t   __kernel_dev_t
-#elif LINUX_VERSION_CODE >= 132608
+
+#if LINUX_VERSION_CODE >= 132608
 #define __bb_kernel_dev_t   __kernel_old_dev_t
+#elif LINUX_VERSION_CODE >= 0x20600
+#define __bb_kernel_dev_t   __kernel_dev_t
 #else
 #define __bb_kernel_dev_t   unsigned short
 #endif



More information about the busybox-cvs mailing list