Date: Tue, 29 Dec 2015 16:09:15 +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-10@freebsd.org Subject: svn commit: r292874 - stable/10/sys/kern Message-ID: <201512291609.tBTG9Fke086789@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Dec 29 16:09:15 2015 New Revision: 292874 URL: https://svnweb.freebsd.org/changeset/base/292874 Log: MFC r292620: Show the actual error code when interpreter cannot be loaded. Modified: stable/10/sys/kern/imgact_elf.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/imgact_elf.c ============================================================================== --- stable/10/sys/kern/imgact_elf.c Tue Dec 29 15:54:34 2015 (r292873) +++ stable/10/sys/kern/imgact_elf.c Tue Dec 29 16:09:15 2015 (r292874) @@ -993,7 +993,8 @@ __CONCAT(exec_, __elfN(imgact))(struct i } vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY); if (error != 0) { - uprintf("ELF interpreter %s not found\n", interp); + uprintf("ELF interpreter %s not found, error %d\n", + interp, error); goto ret; } } else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512291609.tBTG9Fke086789>