aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2012-07-27 21:38:14 +0000
committerEd Maste <emaste@FreeBSD.org>2012-07-27 21:38:14 +0000
commitcb75848307d0d9704377166c1eaad00011832288 (patch)
tree3a209f900801e6b1605a25bac767f4cbf1825b62
parent614e3098036088b1de1073cbc05ef4e001e3cf2c (diff)
Correct BUGS description of static buffer use
Since r142667 strerror has unconditionally returned a pointer to a static buffer. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=238853
-rw-r--r--lib/libc/string/strerror.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index 5961a84a9d83..cc2560266e77 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -174,10 +174,10 @@ function was implemented in
by
.An Wes Peters Aq wes@FreeBSD.org .
.Sh BUGS
-For unknown error numbers, the
+The
.Fn strerror
-function will return its result in a static buffer which
-may be overwritten by subsequent calls.
+function returns its result in a static buffer which
+will be overwritten by subsequent calls.
.Pp
The return type for
.Fn strerror