summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
committerespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
commitc2fb321235c8dbfba0909bc43913400e90646ae7 (patch)
tree101c9655c9c5856e7de799c241b4fad9067a89db /lib/libc/stdio/vfprintf.c
parentbye bye whiteouts (diff)
downloadwireguard-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/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 98bd80096f0..c99c8336efc 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: vfprintf.c,v 1.30 2005/06/08 22:08:30 espie Exp $";
+static char *rcsid = "$OpenBSD: vfprintf.c,v 1.31 2005/06/17 20:40:32 espie Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -292,6 +292,7 @@ vfprintf(FILE *fp, const char *fmt0, _BSD_VA_LIST_ ap)
(((argtable != NULL) ? (void)(ap = argtable[nextarg]) : (void)0), \
nextarg++, va_arg(ap, type))
+ _SET_ORIENTATION(fp, -1);
/* sorry, fprintf(read_only_file, "") returns EOF, not 0 */
if (cantwrite(fp)) {
errno = EBADF;