When reporting an error, print the errno value.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
62957925d8
commit
16aa04d663
@ -861,7 +861,8 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
|
||||
UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred,
|
||||
NOCRED, NULL, td);
|
||||
if (error != 0) {
|
||||
uprintf("i/o error PT_INTERP\n");
|
||||
uprintf("i/o error PT_INTERP %d\n",
|
||||
error);
|
||||
goto ret;
|
||||
}
|
||||
interp_buf[interp_name_len] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user