Fix the last case when kldload(8) wasn't printing the name of the module
that failed to load.
This commit is contained in:
parent
da1b1e8eca
commit
dc3c93a954
@ -177,9 +177,9 @@ main(int argc, char** argv)
|
|||||||
break;
|
break;
|
||||||
case ENOEXEC:
|
case ENOEXEC:
|
||||||
warnx("an error occurred while "
|
warnx("an error occurred while "
|
||||||
"loading the module. "
|
"loading module %s. "
|
||||||
"Please check dmesg(8) for "
|
"Please check dmesg(8) for "
|
||||||
"more details.");
|
"more details.", argv[0]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
warn("can't load %s", argv[0]);
|
warn("can't load %s", argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user