From 6f979f7e5f34bfa805c879fd818dcd148def2365 Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 2 Jan 2003 02:19:10 +0000 Subject: 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 --- sys/compat/linux/linux_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_ioctl.c') 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)); -- cgit v1.1