summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/strerror.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/strerror.3')
-rw-r--r--lib/libc/stdio/strerror.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/strerror.3 b/lib/libc/stdio/strerror.3
index 3f590e5d35b2..7989ea798e7d 100644
--- a/lib/libc/stdio/strerror.3
+++ b/lib/libc/stdio/strerror.3
@@ -47,7 +47,7 @@
.Sh SYNOPSIS
.Vt extern int errno;
.Vt extern char *sys_errlist[];
-.Fd #include <stdio.h>
+.Fd #include <string.h>
.Ft void
.Fn perror "const char *string"
.Ft char *
@@ -61,7 +61,7 @@ functions lookup the error message string affiliated with an
error number.
.Pp
The
-.Fn sterror
+.Fn strerror
function accepts an error number argument
.Fa errnum
and