summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2015-03-05 04:46:33 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2015-03-05 04:46:33 +0000
commit4e71dfb11651aa3b84e7b23e224865cece6a6893 (patch)
tree58c7d09cae0b49808b0488487c17750434bbbd23 /lib/libc
parent28ae6e1ff0d21c513e1639a42a0d0b8ce69619f7 (diff)
Revert; committed by accident without approval from deraadt@ at release
time. Prodded by guenther@. Sorry.
Diffstat (limited to 'lib/libc')
-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 .