diff options
author | 2010-07-24 01:10:12 +0000 | |
---|---|---|
committer | 2010-07-24 01:10:12 +0000 | |
commit | f081e678dadf51a99c6a6ddfc6379af4890e29a6 (patch) | |
tree | 8a154ac915fcf3d607804afbea72105ced13c534 /usr.bin/patch/util.c | |
parent | Include pid file name in error message for a failed kill(). Prompted by (diff) | |
download | wireguard-openbsd-f081e678dadf51a99c6a6ddfc6379af4890e29a6.tar.xz wireguard-openbsd-f081e678dadf51a99c6a6ddfc6379af4890e29a6.zip |
Send normal output to stdout instead of everything to stderr. This
is currently done in the latest versions of GNU patch.
Please watch out for output appearing out-of-order.
Discussed with millert and deraadt.
OK deraadt
Diffstat (limited to 'usr.bin/patch/util.c')
-rw-r--r-- | usr.bin/patch/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c index b27b57b62c3..45d0d7d7d6c 100644 --- a/usr.bin/patch/util.c +++ b/usr.bin/patch/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.34 2010/01/08 13:27:59 oga Exp $ */ +/* $OpenBSD: util.c,v 1.35 2010/07/24 01:10:12 ray Exp $ */ /* * patch - a program to apply diffs to original files @@ -200,9 +200,9 @@ say(const char *fmt, ...) va_list ap; va_start(ap, fmt); - vfprintf(stderr, fmt, ap); + vfprintf(stdout, fmt, ap); va_end(ap); - fflush(stderr); + fflush(stdout); } /* |