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]);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to