diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index a8f3abc0f8a..4b3c79cdd4c 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.202 2007/07/03 00:56:23 ray Exp $ */ +/* $OpenBSD: ci.c,v 1.203 2007/09/06 19:38:47 niallo Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -466,7 +466,7 @@ checkin_update(struct checkin_params *pb) * there is no lock set for the user. */ if (pb->newrev != NULL && - rcsnum_cmp(pb->newrev, pb->frev, 0) > 0) { + rcsnum_cmp(pb->newrev, pb->frev, 0) != -1) { warnx("%s: revision %s too low; must be higher than %s", pb->file->rf_path, rcsnum_tostr(pb->newrev, numb1, sizeof(numb1)), |