summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fread.3
diff options
context:
space:
mode:
authorlteo <lteo@openbsd.org>2015-03-05 04:46:32 +0000
committerlteo <lteo@openbsd.org>2015-03-05 04:46:32 +0000
commit59406f8680e697efac4d950695fdca6aafb9d21c (patch)
tree8fdb839ebac41ccc6c0660b85c74f5af05536a24 /lib/libc/stdio/fread.3
parentFix typo, from Ryan May. (diff)
downloadwireguard-openbsd-59406f8680e697efac4d950695fdca6aafb9d21c.tar.xz
wireguard-openbsd-59406f8680e697efac4d950695fdca6aafb9d21c.zip
Revert; committed by accident without approval from deraadt@ at release
time. Prodded by guenther@. Sorry.
Diffstat (limited to 'lib/libc/stdio/fread.3')
-rw-r--r--lib/libc/stdio/fread.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3
index eb28dbc8f34..2ae1ab29d69 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fread.3,v 1.9 2015/03/05 04:16:49 lteo Exp $
+.\" $OpenBSD: fread.3,v 1.10 2015/03/05 04:46:32 lteo Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -87,7 +87,7 @@ return 0 with no change made to the
If the product of
.Fa size
and
-.Fa nmemb
+.Fa nemb
results in integer overflow, 0 is returned and errno
is set to
.Er EOVERFLOW .