summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-02 20:44:51 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-02 20:44:51 +0000
commitc157c315d14ab5fadaffb1a9006a20e022f96f70 (patch)
treec3d1d3406d13e3d9b9f5953e96b090f729225ca7 /usr.bin/rcs
parent17539185462bf8390730995a6c20488cb75b7fc4 (diff)
- update the comment for checkout_state(); it did not tell the truth
about values returned.
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/co.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c
index 7b51f7f57a3..059a85660dc 100644
--- a/usr.bin/rcs/co.c
+++ b/usr.bin/rcs/co.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: co.c,v 1.24 2005/11/02 20:32:45 niallo Exp $ */
+/* $OpenBSD: co.c,v 1.25 2005/11/02 20:44:50 niallo Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -275,8 +275,7 @@ checkout_rev(RCSFILE *file, RCSNUM *frev, const char *dst, int flags,
* Search from supplied revision backwards until we find one
* with state <state> and check that out.
*
- * Returns 0 on success, -1 on checkout_rev failure and -2 if there is no
- * such state.
+ * Returns 0 on success, -1 on checkout_rev failure.
*/
static int
checkout_state(RCSFILE *rfp, RCSNUM *rev, const char *dst, int flags,