From dc3c93a954d86ff995d9a57edd07cdea13e8c641 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Sat, 18 Feb 2017 18:57:29 +0000 Subject: [PATCH] Fix the last case when kldload(8) wasn't printing the name of the module that failed to load. --- sbin/kldload/kldload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/kldload/kldload.c b/sbin/kldload/kldload.c index cd31c5289b46..39a4114887f8 100644 --- a/sbin/kldload/kldload.c +++ b/sbin/kldload/kldload.c @@ -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]);