summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-06-27 04:23:55 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-06-27 04:23:55 +0000
commitc990c983b4fcb848cab4e8be7d8e099a5f5e20fc (patch)
tree12d5a70f3ef47a04fc2fd3a7ba12f09d72d1ce8e /usr.bin
parentca38bfde341f6af98ebd2f6f6c9e6f9eaa344220 (diff)
fix diff output in a remote setup so our client does not freak out.
noticed and "yes, that's much shinier" by ckuethe.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 92e6c43db52..9e35fd29f69 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.118 2007/02/22 06:42:09 otto Exp $ */
+/* $OpenBSD: diff.c,v 1.119 2007/06/27 04:23:54 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -221,7 +221,7 @@ cvs_diff_local(struct cvs_file *cf)
tv[0].tv_usec = 0;
tv[1] = tv[0];
- printf("Retrieving revision %s\n", rbuf);
+ cvs_printf("Retrieving revision %s\n", rbuf);
rcs_rev_write_stmp(cf->file_rcs, r1, p1, 0);
}
@@ -233,7 +233,7 @@ cvs_diff_local(struct cvs_file *cf)
tv2[0].tv_usec = 0;
tv2[1] = tv2[0];
- printf("Retrieving revision %s\n", rbuf);
+ cvs_printf("Retrieving revision %s\n", rbuf);
rcs_rev_write_stmp(cf->file_rcs, diff_rev2, p2, 0);
} else if (cf->file_status != FILE_REMOVED) {
if (fstat(cf->fd, &st) == -1)