From cb75848307d0d9704377166c1eaad00011832288 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 27 Jul 2012 21:38:14 +0000 Subject: [PATCH] Correct BUGS description of static buffer use Since r142667 strerror has unconditionally returned a pointer to a static buffer. MFC after: 1 week --- lib/libc/string/strerror.3 | 6 +++--- 1 file 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