diff options
author | emaste <emaste@FreeBSD.org> | 2012-07-27 21:38:14 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-07-27 21:38:14 +0000 |
commit | 6856a4229035b7ffb57cf926225c8029989e0625 (patch) | |
tree | 3a209f900801e6b1605a25bac767f4cbf1825b62 /lib/libc | |
parent | ee6fcc0784a7396468ba477a3ab3c69ae51c6d78 (diff) | |
download | FreeBSD-src-6856a4229035b7ffb57cf926225c8029989e0625.zip FreeBSD-src-6856a4229035b7ffb57cf926225c8029989e0625.tar.gz |
Correct BUGS description of static buffer use
Since r142667 strerror has unconditionally returned a pointer to a
static buffer.
MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/string/strerror.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index 5961a84..cc25602 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 |