Author: kib
Date: Sun Jul 22 21:39:27 2018
New Revision: 336618
URL: https://svnweb.freebsd.org/changeset/base/336618
Log:
MFC r336498:
When reporting an error, print the errno value.
Modified:
stable/11/sys/kern/imgact_elf.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/kern/imgact_elf.c
==============================================================================
--- stable/11/sys/kern/imgact_elf.c Sun Jul 22 21:00:11 2018
(r336617)
+++ stable/11/sys/kern/imgact_elf.c Sun Jul 22 21:39:27 2018
(r336618)
@@ -861,7 +861,8 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *i
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';
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"