From 8ae9cf91c89128c149e71f64d2301033414f960f Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 1 Jan 2003 01:42:57 +0000 Subject: When complaining about obsolete/unimplemented syscalls output the process name to make things more clear for the user. PR: 46661 MFC After: 3 days --- sys/compat/linux/linux_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_util.h') diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index 7f69ad5..bf9cadd 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -116,8 +116,8 @@ static __inline int unsupported_msg(struct thread *td, const char *fname) { - printf("linux: syscall %s is obsoleted or not implemented (pid=%ld)\n", - fname, (long)td->td_proc->p_pid); + printf("linux: syscall %s is obsoleted or not implemented pid %ld " + "(%s)\n", fname, (long)td->td_proc->p_pid, td->td_proc->p_comm); return (ENOSYS); } -- cgit v1.1