Explorar o código

fix another mips gratuitous-incompatibility bug: ioctl numbers

Rich Felker %!s(int64=12) %!d(string=hai) anos
pai
achega
ff02f94e2d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      arch/mips/bits/ioctl.h

+ 2 - 2
arch/mips/bits/ioctl.h

@@ -1,7 +1,7 @@
 #define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) )
 #define _IOC_NONE  1U
-#define _IOC_WRITE 2U
-#define _IOC_READ  4U
+#define _IOC_READ  2U
+#define _IOC_WRITE 4U
 
 #define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
 #define _IOW(a,b,c) _IOC(1,(a),(b),sizeof(c))