summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff3.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2006-03-06 08:46:55 +0000
committerxsa <xsa@openbsd.org>2006-03-06 08:46:55 +0000
commitdb6f0a0c1f7c70ded2b93188c8bab344a1c73286 (patch)
treed1e2971047d7f749bc9b547418a0caedd9c2412b /usr.bin/cvs/diff3.c
parentactually, the authors section is a lie, since we rewrote it (diff)
downloadwireguard-openbsd-db6f0a0c1f7c70ded2b93188c8bab344a1c73286.tar.xz
wireguard-openbsd-db6f0a0c1f7c70ded2b93188c8bab344a1c73286.zip
if the submitted rev(s) is/are the same as the head rev, skip the process
for the specified file. Fix some error messages while there. OK joris@
Diffstat (limited to 'usr.bin/cvs/diff3.c')
-rw-r--r--usr.bin/cvs/diff3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/diff3.c b/usr.bin/cvs/diff3.c
index b6037d29e38..71e8dfbee75 100644
--- a/usr.bin/cvs/diff3.c
+++ b/usr.bin/cvs/diff3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff3.c,v 1.15 2006/03/05 16:34:31 niallo Exp $ */
+/* $OpenBSD: diff3.c,v 1.16 2006/03/06 08:46:55 xsa Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -72,7 +72,7 @@ static const char copyright[] =
#ifndef lint
static const char rcsid[] =
- "$OpenBSD: diff3.c,v 1.15 2006/03/05 16:34:31 niallo Exp $";
+ "$OpenBSD: diff3.c,v 1.16 2006/03/06 08:46:55 xsa Exp $";
#endif /* not lint */
#include "includes.h"
@@ -241,8 +241,8 @@ cvs_diff3(RCSFILE *rf, char *workfile, RCSNUM *rev1, RCSNUM *rev2)
goto out;
if (diff3_conflicts != 0) {
- cvs_printf("%d conflict%s found during merge, "
- "please correct.\n", diff3_conflicts,
+ cvs_log(LP_WARN, "%d conflict%s found during merge, "
+ "please correct.", diff3_conflicts,
(diff3_conflicts > 1) ? "s" : "");
}