Date: Sat, 18 Feb 2017 18:57:29 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313920 - head/sbin/kldload Message-ID: <201702181857.v1IIvTUJ051506@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Sat Feb 18 18:57:29 2017 New Revision: 313920 URL: https://svnweb.freebsd.org/changeset/base/313920 Log: Fix the last case when kldload(8) wasn't printing the name of the module that failed to load. Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c ============================================================================== --- head/sbin/kldload/kldload.c Sat Feb 18 18:31:42 2017 (r313919) +++ head/sbin/kldload/kldload.c Sat Feb 18 18:57:29 2017 (r313920) @@ -177,9 +177,9 @@ main(int argc, char** argv) break; case ENOEXEC: warnx("an error occurred while " - "loading the module. " + "loading module %s. " "Please check dmesg(8) for " - "more details."); + "more details.", argv[0]); break; default: warn("can't load %s", argv[0]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702181857.v1IIvTUJ051506>