summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-04-21 17:17:30 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-04-21 17:17:30 +0000
commit983cac9499e023e5b064864b91c92a9c75bc6465 (patch)
tree8701df726e0d0ce95be0039d4ed47ca10c417824 /usr.bin/rcs/ci.c
parent3badf17decc7a041cd9abe96ba152aa9b09aca38 (diff)
move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;
"the voices in my head say OK!" joris@.
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 671f9d7107d..974a755d597 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.155 2006/04/21 14:18:26 xsa Exp $ */
+/* $OpenBSD: ci.c,v 1.156 2006/04/21 17:17:29 xsa Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -234,7 +234,8 @@ checkin_main(int argc, char **argv)
* Test for existence of ,v file. If we are expected to
* create one, set NEWFILE flag.
*/
- if (rcs_statfile(pb.filename, pb.fpath, sizeof(pb.fpath)) < 0) {
+ if (rcs_statfile(pb.filename, pb.fpath,
+ sizeof(pb.fpath), pb.flags) < 0) {
if (pb.openflags & RCS_CREATE)
pb.flags |= NEWFILE;
else {