When complaining about obsolete/unimplemented syscalls output the process

name to make things more clear for the user.

PR: 46661
MFC After: 3 days
This commit is contained in:
alfred 2003-01-01 01:42:57 +00:00
parent dd68501eb2
commit 8ae9cf91c8

View File

@ -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);
}