summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fread.3
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2015-03-12 02:16:30 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2015-03-12 02:16:30 +0000
commitc953b726fbf241bd1d4945bb3612b9fbbeedfa40 (patch)
tree6fcf153aa8108ebcc4c999a93adec2e94dac2266 /lib/libc/stdio/fread.3
parent6ffe49baa29b2696710ac6ef38765cd7067fdb00 (diff)
Fix typo: nemb -> nmemb
From Ryan May.
Diffstat (limited to 'lib/libc/stdio/fread.3')
-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 2ae1ab29d69..255419aceb1 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fread.3,v 1.10 2015/03/05 04:46:32 lteo Exp $
+.\" $OpenBSD: fread.3,v 1.11 2015/03/12 02:16:29 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: March 5 2015 $
+.Dd $Mdocdate: March 12 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 .