svn commit: r313920 - head/sbin/kldload

Gleb Smirnoff glebius at FreeBSD.org
Sat Feb 18 18:57:31 UTC 2017


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]);


More information about the svn-src-all mailing list