aboutsummaryrefslogtreecommitdiff
path: root/libc/upstream-openbsd/lib/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/upstream-openbsd/lib/libc/stdio/vdprintf.c')
-rw-r--r--libc/upstream-openbsd/lib/libc/stdio/vdprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/upstream-openbsd/lib/libc/stdio/vdprintf.c b/libc/upstream-openbsd/lib/libc/stdio/vdprintf.c
index ad4ab0a76..e76fcd498 100644
--- a/libc/upstream-openbsd/lib/libc/stdio/vdprintf.c
+++ b/libc/upstream-openbsd/lib/libc/stdio/vdprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdprintf.c,v 1.3 2019/03/03 16:41:41 semarie Exp $ */
+/* $OpenBSD: vdprintf.c,v 1.2 2015/08/31 02:53:57 guenther Exp $ */
/* $FreeBSD: src/lib/libc/stdio/vdprintf.c,v 1.4 2012/11/17 01:49:40 svnexp Exp $ */
/*-
@@ -69,6 +69,6 @@ vdprintf(int fd, const char * __restrict fmt, va_list ap)
if ((ret = __vfprintf(&f, fmt, ap)) < 0)
return ret;
- return __sflush(&f) ? EOF : ret;
+ return fflush(&f) ? EOF : ret;
}
DEF_WEAK(vdprintf);