summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-01-29 20:05:16 +0000
committerdelphij <delphij@FreeBSD.org>2013-01-29 20:05:16 +0000
commiteb79809347eb16571890b421faedf78457a05538 (patch)
tree4226cf563e0a8e96a30ae842b880573dcb5ed915 /usr.bin/patch/util.c
parentf34880dfeaa3c40369cc452b14ed762513bf6209 (diff)
downloadFreeBSD-src-eb79809347eb16571890b421faedf78457a05538.zip
FreeBSD-src-eb79809347eb16571890b421faedf78457a05538.tar.gz
- Refresh code with latest OpenBSD revisions.
- Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
Diffstat (limited to 'usr.bin/patch/util.c')
-rw-r--r--usr.bin/patch/util.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c
index 90f2f9a..3895b2c 100644
--- a/usr.bin/patch/util.c
+++ b/usr.bin/patch/util.c
@@ -1,6 +1,4 @@
-/* $FreeBSD$ */
/*-
- *
* Copyright 1986, Larry Wall
*
* Redistribution and use in source and binary forms, with or without
@@ -25,8 +23,8 @@
* -C option added in 1998, original code by Marc Espie, based on FreeBSD
* behaviour
*
- * $OpenBSD: util.c,v 1.32 2006/03/11 19:41:30 otto Exp $
- * $DragonFly: src/usr.bin/patch/util.c,v 1.9 2007/09/29 23:11:10 swildner Exp $
+ * $OpenBSD: util.c,v 1.35 2010/07/24 01:10:12 ray Exp $
+ * $FreeBSD$
*/
#include <sys/param.h>
@@ -212,9 +210,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);
}
/*
OpenPOWER on IntegriCloud