summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 805f641a9d6..20248836417 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.13 2005/10/09 17:51:33 joris Exp $ */
+/* $OpenBSD: ci.c,v 1.14 2005/10/09 19:29:22 joris Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -169,7 +169,7 @@ checkin_main(int argc, char **argv)
/*
* If no log message specified, get it interactively.
*/
- if (rcs_msg != NULL)
+ if (rcs_msg == NULL)
rcs_msg = checkin_getlogmsg(fpath, argv[i], frev, newrev);
/*