diff options
author | 2005-06-17 20:40:30 +0000 | |
---|---|---|
committer | 2005-06-17 20:40:30 +0000 | |
commit | c2fb321235c8dbfba0909bc43913400e90646ae7 (patch) | |
tree | 101c9655c9c5856e7de799c241b4fad9067a89db /lib/libc/stdio/fputs.c | |
parent | bye bye whiteouts (diff) | |
download | wireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.tar.xz wireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.zip |
next citrus step.
reviewed by millert, otto, kevlo, naddy, kettenis...
libc+libstdc++ bump
Diffstat (limited to 'lib/libc/stdio/fputs.c')
-rw-r--r-- | lib/libc/stdio/fputs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/fputs.c b/lib/libc/stdio/fputs.c index 99194a68ee6..ffb0df788ba 100644 --- a/lib/libc/stdio/fputs.c +++ b/lib/libc/stdio/fputs.c @@ -31,11 +31,12 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fputs.c,v 1.5 2004/09/28 18:12:44 otto Exp $"; +static char rcsid[] = "$OpenBSD: fputs.c,v 1.6 2005/06/17 20:40:32 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> #include <string.h> +#include "local.h" #include "fvwrite.h" /* @@ -51,5 +52,6 @@ fputs(const char *s, FILE *fp) iov.iov_len = uio.uio_resid = strlen(s); uio.uio_iov = &iov; uio.uio_iovcnt = 1; + _SET_ORIENTATION(fp, -1); return (__sfvwrite(fp, &uio)); } |