summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-03-26 22:32:29 +0000
committertb <tb@openbsd.org>2016-03-26 22:32:29 +0000
commit2251f629fc26654a245fccda96ed3add66f0285d (patch)
tree9e23d22b35b463a9b06e749089285c6a7f50464f /lib/libc/stdio
parentfix error message, based on a suggestion from doug@, ok espie (diff)
downloadwireguard-openbsd-2251f629fc26654a245fccda96ed3add66f0285d.tar.xz
wireguard-openbsd-2251f629fc26654a245fccda96ed3add66f0285d.zip
fix typo: "prefer seek()" -> "prefer fseek()"
ok deraadt@, stsp@
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fseek.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3
index 36c133b0a4a..bcd6c464c3f 100644
--- a/lib/libc/stdio/fseek.3
+++ b/lib/libc/stdio/fseek.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fseek.3,v 1.17 2016/03/15 19:45:57 espie Exp $
+.\" $OpenBSD: fseek.3,v 1.18 2016/03/26 22:32:29 tb 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 15 2016 $
+.Dd $Mdocdate: March 26 2016 $
.Dt FSEEK 3
.Os
.Sh NAME
@@ -143,7 +143,7 @@ The
.Fn rewind
function returns no value.
Prefer
-.Fn seek ,
+.Fn fseek ,
which is just as portable, and does not hide errors.
Upon successful completion,
.Fn fgetpos ,