summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 4d3c3f3e2ae..efc2482fae4 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.247 2008/02/09 13:41:22 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.248 2008/02/10 10:21:42 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -3551,7 +3551,7 @@ rcs_translate_tag(const char *revstr, RCSFILE *rfp)
if ((rdp = rcs_findrev(rfp, rev)) == NULL)
fatal("rcs_translate_tag: cannot find revision");
- if (cvs_specified_date == 0)
+ if (cvs_specified_date == -1)
return rev;
if (frev != NULL) {