summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-08-13 22:46:38 +0200
committerRich Felker <dalias@aerifal.cx>2017-08-29 19:48:35 -0400
commit02b50c9d0a749f3e89e352a5760cc55a11977761 (patch)
tree9dacf2d7a290f5510e3e1ab2eb844626026609d6 /arch/mips
parent670d6d01f53b4e85be6b333bf8a137e2be6d3fc3 (diff)
downloadmusl-02b50c9d0a749f3e89e352a5760cc55a11977761.tar.gz
musl-02b50c9d0a749f3e89e352a5760cc55a11977761.tar.bz2
musl-02b50c9d0a749f3e89e352a5760cc55a11977761.tar.xz
musl-02b50c9d0a749f3e89e352a5760cc55a11977761.zip
fix mips ioctl macros to match linux asm/sockios.h
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bits/ioctl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/bits/ioctl.h b/arch/mips/bits/ioctl.h
index accd7af2..793c66ee 100644
--- a/arch/mips/bits/ioctl.h
+++ b/arch/mips/bits/ioctl.h
@@ -139,11 +139,11 @@ struct winsize {
#define N_SYNC_PPP 14
#define N_HCI 15
-#define FIOSETOWN 0x8901
-#define SIOCSPGRP 0x8902
-#define FIOGETOWN 0x8903
-#define SIOCGPGRP 0x8904
-#define SIOCATMARK 0x8905
+#define FIOGETOWN _IOR('f', 123, int)
+#define FIOSETOWN _IOW('f', 124, int)
+#define SIOCATMARK _IOR('s', 7, int)
+#define SIOCSPGRP _IOW('s', 8, pid_t)
+#define SIOCGPGRP _IOR('s', 9, pid_t)
#define SIOCGSTAMP 0x8906
#define SIOCADDRT 0x890B