Date: Sun, 22 Jul 2018 21:39:27 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r336618 - stable/11/sys/kern Message-ID: <201807222139.w6MLdRrL099589@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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';
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807222139.w6MLdRrL099589>