svn commit: r336618 - stable/11/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sun Jul 22 21:39:28 UTC 2018
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';
More information about the svn-src-stable
mailing list