summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fwrite.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-08-13 09:30:41 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-08-13 09:30:41 +0000
commite74101e4eff767325553039def89de70b70f36d3 (patch)
treeb19b15290ce2e0d3c58bac59a2bcb0295e1af757 /lib/libc/stdio/fwrite.c
parent149004e99dc4abe92b530803e963e50943750f40 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/fwrite.c')
-rw-r--r--lib/libc/stdio/fwrite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fwrite.c b/lib/libc/stdio/fwrite.c
index 0687714de7c8..445baecb7da4 100644
--- a/lib/libc/stdio/fwrite.c
+++ b/lib/libc/stdio/fwrite.c
@@ -67,6 +67,7 @@ fwrite(buf, size, count, fp)
uio.uio_iovcnt = 1;
FLOCKFILE(fp);
+ ORIENT(fp, -1);
/*
* The usual case is success (__sfvwrite returns 0);
* skip the divide if this happens, since divides are