summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-04-16 23:16:18 +0000
committerjkim <jkim@FreeBSD.org>2012-04-16 23:16:18 +0000
commit286910d4652d737b092292ace2f97a213a7ba6cf (patch)
treec27092f241870ee09734420e299355e83a1fb3bb /sys
parentdeeb601d27836412d37be256fc0ba79f685427aa (diff)
downloadFreeBSD-src-286910d4652d737b092292ace2f97a213a7ba6cf.zip
FreeBSD-src-286910d4652d737b092292ace2f97a213a7ba6cf.tar.gz
Correct an argument type of iopl syscall for Linuxulator. This also fixes
a warning from Clang, i. e., "args->level < 0 is always false".
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/linux32/syscalls.master2
-rw-r--r--sys/i386/linux/syscalls.master2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 4101ba5..a71e02d 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -202,7 +202,7 @@
struct l_newstat *buf); }
; 109: olduname
109 AUE_NULL STD { int linux_uname(void); }
-110 AUE_NULL STD { int linux_iopl(l_ulong level); }
+110 AUE_NULL STD { int linux_iopl(l_int level); }
111 AUE_NULL STD { int linux_vhangup(void); }
112 AUE_NULL UNIMPL idle
113 AUE_NULL UNIMPL vm86old
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index d1830a5..0f2139c 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -203,7 +203,7 @@
struct l_newstat *buf); }
; 109: olduname
109 AUE_NULL STD { int linux_uname(void); }
-110 AUE_NULL STD { int linux_iopl(l_ulong level); }
+110 AUE_NULL STD { int linux_iopl(l_int level); }
111 AUE_NULL STD { int linux_vhangup(void); }
112 AUE_NULL UNIMPL idle
113 AUE_NULL STD { int linux_vm86old(void); }
OpenPOWER on IntegriCloud