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

Erik Andersen andersen at codepoet.org
Mon Aug 16 08:36:29 UTC 2004


    Date: Monday, August 16, 2004 @ 02:36:29
  Author: andersen
    Path: /var/cvs/busybox/libbb

Modified: loop.c (1.11 -> 1.12)

Use __kernel_old_dev_t for 2.6.x kernels 


Index: busybox/libbb/loop.c
diff -u busybox/libbb/loop.c:1.11 busybox/libbb/loop.c:1.12
--- busybox/libbb/loop.c:1.11	Mon Aug 16 02:29:44 2004
+++ busybox/libbb/loop.c	Mon Aug 16 02:36:28 2004
@@ -33,6 +33,8 @@
 #include <asm/posix_types.h>
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#define __bb_kernel_dev_t   __kernel_old_dev_t
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
 #define __bb_kernel_dev_t   __kernel_dev_t
 #else
 #define __bb_kernel_dev_t   unsigned short



More information about the busybox-cvs mailing list