summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-27 12:56:29 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-27 12:56:29 +0000
commit4b2365a2fc8df943e49ae4c31ec0f117ff1b900a (patch)
tree1b935b8dd494d63d52a6e94507ce2da8213d10aa /usr.bin/cvs/checkout.c
parent739bb3cc929be85a9a068c8a7ad8fcc528c50414 (diff)
cvs_mkadmin() cannot return < 0 anymore;
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 2688c9b56cb..fbd907f0f28 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.47 2006/01/27 12:45:21 xsa Exp $ */
+/* $OpenBSD: checkout.c,v 1.48 2006/01/27 12:56:28 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -206,10 +206,8 @@ cvs_checkout_pre_exec(struct cvsroot *root)
fatal("cvs_checkout_pre_exec: mkdir `%s': %s",
co_mods[i], strerror(errno));
- if (cvs_mkadmin(co_mods[i], root->cr_str, co_mods[i],
- NULL, NULL, 0) < 0)
- fatal("cvs_checkout_pre_exec: cvs_mkadmin `%s' failed",
- co_mods[i]);
+ cvs_mkadmin(co_mods[i], root->cr_str, co_mods[i], NULL,
+ NULL, 0);
if (sp != NULL)
*sp = '/';