diff options
-rw-r--r-- | lib/libc/stdio/vdprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vdprintf.c b/lib/libc/stdio/vdprintf.c index e76fcd4987b..ad4ab0a760e 100644 --- a/lib/libc/stdio/vdprintf.c +++ b/lib/libc/stdio/vdprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdprintf.c,v 1.2 2015/08/31 02:53:57 guenther Exp $ */ +/* $OpenBSD: vdprintf.c,v 1.3 2019/03/03 16:41:41 semarie 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 fflush(&f) ? EOF : ret; + return __sflush(&f) ? EOF : ret; } DEF_WEAK(vdprintf); |