diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-02-13 19:04:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-02-13 19:04:09 +0000 |
commit | fe11ca684f01e31a305623f22b11827d2e7accd6 (patch) | |
tree | b08557c246b31b29c8e02ef679561be0b98408d6 | |
parent | 27bb59ae0049ff56bd7310f640b957b96014396a (diff) |
Fix an obvious cut-and-paste error:
This function doesn't even have an "n" argument, so that non-existent
argument clearly cannot restrict the return value.
-rw-r--r-- | lib/libc/locale/wctomb.3 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/locale/wctomb.3 b/lib/libc/locale/wctomb.3 index c1197d3632d..d4dfa72e01f 100644 --- a/lib/libc/locale/wctomb.3 +++ b/lib/libc/locale/wctomb.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wctomb.3,v 1.3 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: wctomb.3,v 1.4 2016/02/13 19:04:08 schwarze Exp $ .\" $NetBSD: wctomb.3,v 1.3 2003/04/16 13:34:41 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: February 13 2016 $ .Dt WCTOMB 3 .Os .Sh NAME @@ -100,8 +100,7 @@ returns: Number of bytes for the valid multibyte character pointed to by .Fa s . There are no cases where the value returned is greater than -.Fa n -or the value of the +the value of the .Dv MB_CUR_MAX macro . .It -1 .Fa wchar |