summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-10-09 19:29:22 +0000
committerjoris <joris@openbsd.org>2005-10-09 19:29:22 +0000
commit1b87f082a7cc8d0a4d0cdde10e2d58d04869ed14 (patch)
treecdc0e6bd3388aaf0a59d73c468053f95258fa7ce
parentremove some NetBSD/OpenBSD portability cruft. (diff)
downloadwireguard-openbsd-1b87f082a7cc8d0a4d0cdde10e2d58d04869ed14.tar.xz
wireguard-openbsd-1b87f082a7cc8d0a4d0cdde10e2d58d04869ed14.zip
only get the log message when it's not specified on the command-line;
noticed by niallo@
-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);
/*