summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorlteo <lteo@openbsd.org>2015-03-05 04:16:49 +0000
committerlteo <lteo@openbsd.org>2015-03-05 04:16:49 +0000
commitab0076ed174a9e2bd5ac2f782b3311f7cc53f068 (patch)
tree363b65e4cdb014a4d64100b844327a8f5bc4b111 /lib/libc/stdio
parentprevent umass devices from being considered for paths. (diff)
downloadwireguard-openbsd-ab0076ed174a9e2bd5ac2f782b3311f7cc53f068.tar.xz
wireguard-openbsd-ab0076ed174a9e2bd5ac2f782b3311f7cc53f068.zip
Fix typo, from Ryan May.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fread.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3
index 04bd6a4f3ca..eb28dbc8f34 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fread.3,v 1.8 2014/05/01 16:40:36 deraadt Exp $
+.\" $OpenBSD: fread.3,v 1.9 2015/03/05 04:16:49 lteo Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 1 2014 $
+.Dd $Mdocdate: March 5 2015 $
.Dt FREAD 3
.Os
.Sh NAME
@@ -87,7 +87,7 @@ return 0 with no change made to the
If the product of
.Fa size
and
-.Fa nemb
+.Fa nmemb
results in integer overflow, 0 is returned and errno
is set to
.Er EOVERFLOW .