summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2015-03-05 04:16:50 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2015-03-05 04:16:50 +0000
commit28ae6e1ff0d21c513e1639a42a0d0b8ce69619f7 (patch)
treead558b7999cf25382646cbc21fd32023ceaf8171
parent768b4919561b11780edda9eae702b62113f7750a (diff)
Fix typo, from Ryan May.
-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 .