summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsdiff.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-04-13 00:58:26 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-04-13 00:58:26 +0000
commita88258c6c074739a132093f82549ff351b668739 (patch)
tree06d61c14d26e8fc7f8a89e1762b5ce7a136e83fd /usr.bin/rcs/rcsdiff.c
parentfc136bbab2d84700a4655e5e586ae70c67e1795b (diff)
*** empty log message ***
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r--usr.bin/rcs/rcsdiff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c
index fa9b3f0f8b3..4c6cabbb204 100644
--- a/usr.bin/rcs/rcsdiff.c
+++ b/usr.bin/rcs/rcsdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsdiff.c,v 1.46 2006/04/12 08:23:30 ray Exp $ */
+/* $OpenBSD: rcsdiff.c,v 1.47 2006/04/13 00:58:25 ray Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -118,11 +118,11 @@ rcsdiff_main(int argc, char **argv)
rcs_kwexp_set(file, kflag);
if (rev_str1 != NULL) {
- if ((rev1 = rcsnum_parse(rev_str1)) == NULL)
+ if ((rev1 = rcs_getrevnum(rev_str1, file)) == NULL)
fatal("bad revision number");
}
if (rev_str2 != NULL) {
- if ((rev2 = rcsnum_parse(rev_str2)) == NULL)
+ if ((rev2 = rcs_getrevnum(rev_str2, file)) == NULL)
fatal("bad revision number");
}