summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-01-02 02:19:10 +0000
committeralfred <alfred@FreeBSD.org>2003-01-02 02:19:10 +0000
commit6f979f7e5f34bfa805c879fd818dcd148def2365 (patch)
tree99826f563971bf97a7c515ce2142bc0961221917 /sys/compat/linux/linux_ioctl.c
parent0d04e17370ab2b8976dd2c0dcb3d6e9ba061ad5c (diff)
downloadFreeBSD-src-6f979f7e5f34bfa805c879fd818dcd148def2365.zip
FreeBSD-src-6f979f7e5f34bfa805c879fd818dcd148def2365.tar.gz
Add function linux_msg() for regulating output from the linux emulation
code, make the emulator use it. Rename unsupported_msg() to unimplemented_syscall(). Rename some arguments for clarity Fixup grammar. Requested by: bde
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 186b84c..9f10ba5 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -2395,7 +2395,7 @@ linux_ioctl(struct thread *td, struct linux_ioctl_args *args)
}
fdrop(fp, td);
- printf("linux: 'ioctl' fd=%d, cmd=0x%x ('%c',%d) not implemented\n",
+ linux_msg(td, "ioctl fd=%d, cmd=0x%x ('%c',%d) is not implemented",
args->fd, (int)(args->cmd & 0xffff),
(int)(args->cmd & 0xff00) >> 8, (int)(args->cmd & 0xff));
OpenPOWER on IntegriCloud