From e15583ce201e83b844d98e20859ca8f73e9c6103 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein 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_ipc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux/linux_ipc.c') diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index f977c57ead10..6dd21eb6bc7f 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -556,7 +556,7 @@ linux_semctl(struct thread *td, struct linux_semctl_args *args) case LINUX_SETALL: /* FALLTHROUGH */ default: - uprintf("linux: 'ipc' typ=%d not implemented\n", + linux_msg(td, "ipc type %d is not implemented", args->cmd & ~LINUX_IPC_64); return EINVAL; } @@ -783,8 +783,7 @@ linux_shmctl(struct thread *td, struct linux_shmctl_args *args) case LINUX_SHM_LOCK: case LINUX_SHM_UNLOCK: default: - uprintf("linux: 'ipc' typ=%d not implemented\n", - args->cmd & ~LINUX_IPC_64); + linux_msg(td, "ipc typ=%d not implemented", args->cmd & ~LINUX_IPC_64); return EINVAL; } } -- cgit v1.2.3