Author: kib Date: Thu Jul 19 19:03:18 2018 New Revision: 336498 URL: https://svnweb.freebsd.org/changeset/base/336498
Log: When reporting an error, print the errno value. Sponsored by: The FreeBSD Foundation MFC after: 3 days Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c ============================================================================== --- head/sys/kern/imgact_elf.c Thu Jul 19 18:44:10 2018 (r336497) +++ head/sys/kern/imgact_elf.c Thu Jul 19 19:03:18 2018 (r336498) @@ -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'; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"