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:
parent
dd68501eb2
commit
8ae9cf91c8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user