summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/kldstat.2
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-10-20 00:27:56 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-10-20 00:27:56 +0000
commite7738ffe89030f1cbb6b398dc55aaf741858fbd3 (patch)
treeec93ff7943ace99e3a0d3fbe9d083914aa1a1d13 /lib/libc/sys/kldstat.2
parent8bc3f0c5523a30f2ce4813277df5e9f710a74510 (diff)
downloadFreeBSD-src-e7738ffe89030f1cbb6b398dc55aaf741858fbd3.zip
FreeBSD-src-e7738ffe89030f1cbb6b398dc55aaf741858fbd3.tar.gz
Correct the text on RETURN VALUES.
Diffstat (limited to 'lib/libc/sys/kldstat.2')
-rw-r--r--lib/libc/sys/kldstat.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2
index e35a2c0..6418332 100644
--- a/lib/libc/sys/kldstat.2
+++ b/lib/libc/sys/kldstat.2
@@ -78,8 +78,10 @@ The load address of the kld file.
.It size
The size of the file.
.Sh RETURN VALUES
+The function
.Fn kldstat
-seems to always return 0.
+returns 0 on success. It returns -1 on failure, and sets errno to indicate
+the error.
.Sh ERRORS
The information for the file referred to by
.Fa fileid
OpenPOWER on IntegriCloud