Correct BUGS description of static buffer use

Since r142667 strerror has unconditionally returned a pointer to a
static buffer.

MFC after:	1 week
This commit is contained in:
Ed Maste 2012-07-27 21:38:14 +00:00
parent 614e309803
commit cb75848307
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238853

View File

@ -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