diff options
author | alfred <alfred@FreeBSD.org> | 2003-01-02 02:19:10 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-01-02 02:19:10 +0000 |
commit | 6f979f7e5f34bfa805c879fd818dcd148def2365 (patch) | |
tree | 99826f563971bf97a7c515ce2142bc0961221917 /sys/compat/linux/linux_ipc.c | |
parent | 0d04e17370ab2b8976dd2c0dcb3d6e9ba061ad5c (diff) | |
download | FreeBSD-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_ipc.c')
-rw-r--r-- | sys/compat/linux/linux_ipc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index f977c57..6dd21eb 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; } } |