summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rcs/rcs.c')
-rw-r--r--usr.bin/rcs/rcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index bb605c7989b..947b85ae2e1 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.40 2007/06/30 08:23:49 xsa Exp $ */
+/* $OpenBSD: rcs.c,v 1.41 2007/07/03 00:56:23 ray Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1408,8 +1408,8 @@ rcs_rev_remove(RCSFILE *rf, RCSNUM *rev)
rcs_buf_free(prevbuf);
diff_format = D_RCSDIFF;
- if (rcs_diffreg(path_tmp1, path_tmp2, newdiff, 0) == D_ERROR)
- errx(1, "rcs_diffreg failed");
+ if (diffreg(path_tmp1, path_tmp2, newdiff, 0) == D_ERROR)
+ errx(1, "diffreg failed");
newdeltatext = newdiff;
} else if (nextrdp == NULL && prevrdp != NULL) {