diff options
author | dd <dd@FreeBSD.org> | 2002-10-01 23:53:51 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-10-01 23:53:51 +0000 |
commit | 552aeba29fa5815a5d5914202f51753c118adfd4 (patch) | |
tree | 1ecb4362f6c408ebfcfa847a84bfe706071bb351 /lib/libc/sys | |
parent | 4f9b793ef79a2dfb2566cbec5b9de026e649afe1 (diff) | |
download | FreeBSD-src-552aeba29fa5815a5d5914202f51753c118adfd4.zip FreeBSD-src-552aeba29fa5815a5d5914202f51753c118adfd4.tar.gz |
Don't claim to return the fileid which we unloaded. The kernel
doesn't do this, and it wouldn't be very useful if it did, since the
caller supplies us with that number.
PR: 41329
Submitted by: Michael Galassi <nerd@xyz.com>
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/kldunload.2 | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2 index f14d5e8..7cbd528 100644 --- a/lib/libc/sys/kldunload.2 +++ b/lib/libc/sys/kldunload.2 @@ -44,15 +44,7 @@ The function unloads a kld file from the kernel that was previously linked via .Xr kldload 2 . .Sh RETURN VALUES -The function -.Fn kldunload -returns the fileid of the kld file which was previously loaded into memory via -.Fn kldload . -If an error occurs, -.Fn kldunload -will return -1 and set -.Va errno -to indicate the error. +.Rv -std .Sh ERRORS The file referred to by .Fa fileid |