diff options
Diffstat (limited to 'lib/libc/stdio/fputs.c')
-rw-r--r-- | lib/libc/stdio/fputs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdio/fputs.c b/lib/libc/stdio/fputs.c index c885c17..e209659 100644 --- a/lib/libc/stdio/fputs.c +++ b/lib/libc/stdio/fputs.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include "fvwrite.h" #include "libc_private.h" +#include "local.h" /* * Write the given string to the given file. @@ -64,6 +65,7 @@ fputs(s, fp) uio.uio_iov = &iov; uio.uio_iovcnt = 1; FLOCKFILE(fp); + ORIENT(fp, -1); retval = __sfvwrite(fp, &uio); FUNLOCKFILE(fp); return (retval); |