projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecff18
)
fix another mips gratuitous-incompatibility bug: ioctl numbers
author
Rich Felker
<dalias@aerifal.cx>
Tue, 7 Aug 2012 23:19:21 +0000
(19:19 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 7 Aug 2012 23:19:21 +0000
(19:19 -0400)
arch/mips/bits/ioctl.h
patch
|
blob
|
history
diff --git
a/arch/mips/bits/ioctl.h
b/arch/mips/bits/ioctl.h
index c86488d89021991288e3f39f407fa9dd4df8a74d..3d60c1a981aab22f38ff2b40e626b67caf1c386d 100644
(file)
--- a/
arch/mips/bits/ioctl.h
+++ b/
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))