aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/freebsd32/syscalls.master
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:22 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:22 +0000
commit70c9698f4037bbae2c51d7b628433e6835450448 (patch)
tree2334e730f99a48409cdf360167ef671aa5239668 /sys/compat/freebsd32/syscalls.master
parent8ba369ed74007a52be045e4c40a1131e4842222e (diff)
downloadsrc-70c9698f4037bbae2c51d7b628433e6835450448.tar.gz
src-70c9698f4037bbae2c51d7b628433e6835450448.zip
freebsd32: match ioctl type to default ABI
The command is a u_long and unsigned integers do not require special handling. The data argument isn't a special structure, just use char *. Reviewed by: kevans
Diffstat (limited to 'sys/compat/freebsd32/syscalls.master')
-rw-r--r--sys/compat/freebsd32/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 328858071949..3fd815f62127 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -152,8 +152,8 @@
53 AUE_SIGALTSTACK STD { int freebsd32_sigaltstack( \
const struct sigaltstack32 *ss, \
struct sigaltstack32 *oss); }
-54 AUE_IOCTL STD { int freebsd32_ioctl(int fd, uint32_t com, \
- struct md_ioctl32 *data); }
+54 AUE_IOCTL STD { int freebsd32_ioctl(int fd, u_long com, \
+ char *data); }
55 AUE_REBOOT NOPROTO { int reboot(int opt); }
56 AUE_REVOKE NOPROTO { int revoke(const char *path); }
57 AUE_SYMLINK NOPROTO { int symlink(const char *path, \