summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e35a2c061932..64183320ad09 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