summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-20 14:37:02 +0000
committerbapt <bapt@FreeBSD.org>2014-01-20 14:37:02 +0000
commitbc9afa8bed10defc3946a9cdd6e3a401db21e437 (patch)
tree359108912685b28eeface542d389b17a88c89a02 /share
parent567342fbad28f24c8f975470e193ff92da791ea7 (diff)
downloadFreeBSD-src-bc9afa8bed10defc3946a9cdd6e3a401db21e437.zip
FreeBSD-src-bc9afa8bed10defc3946a9cdd6e3a401db21e437.tar.gz
MFH: r260483, r260484, r260594, r260595, r260596, r260597
Improve error message shown to the user when trying to load a module that is already loaded or compiled withing the kernel Point the user to dmesg(1) to get informations about why loading a module did fail instead of printing the cryptic "Exec format error" Update the BUGS section of kld(4) according the recent changes in kldload(8)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/kld.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/kld.4 b/share/man/man4/kld.4
index c36f6ab..de991c4 100644
--- a/share/man/man4/kld.4
+++ b/share/man/man4/kld.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 8, 1998
+.Dd January 13, 2014
.Dt KLD 4
.Os
.Sh NAME
@@ -166,8 +166,8 @@ binary, then
fails to execute the entry point.
.Pp
.Xr kldload 8
-returns the cryptic message
-.Sq Li "ENOEXEC (Exec format error)"
+points the user to read
+.Xr dmesg 8
for any error encountered while loading a module.
.Pp
When system internal interfaces change, old modules often cannot
OpenPOWER on IntegriCloud