summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-01-01 01:42:57 +0000
committeralfred <alfred@FreeBSD.org>2003-01-01 01:42:57 +0000
commit8ae9cf91c89128c149e71f64d2301033414f960f (patch)
tree83145d84c46d10dc60da65d9a351f1c5d095db6e /sys/compat/linux
parentdd68501eb2ffc038a7b58abdbdfab424e80271b3 (diff)
downloadFreeBSD-src-8ae9cf91c89128c149e71f64d2301033414f960f.zip
FreeBSD-src-8ae9cf91c89128c149e71f64d2301033414f960f.tar.gz
When complaining about obsolete/unimplemented syscalls output the process
name to make things more clear for the user. PR: 46661 MFC After: 3 days
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_util.h4
1 files changed, 2 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud