summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/import.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-04-03 17:32:51 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-04-03 17:32:51 +0000
commit5084bac86a0c29797507aafc3a1f283df9a435e8 (patch)
tree14a72622e2e38c0d13ad93871a7f519329b15823 /usr.bin/cvs/import.c
parent3edfba4e92c860e5173084d804678f462b212ef9 (diff)
first round of EX_* exit codes removal; ok joris@.
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r--usr.bin/cvs/import.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 6a074943601..061c807291f 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.7 2005/03/30 17:43:04 joris Exp $ */
+/* $OpenBSD: import.c,v 1.8 2005/04/03 17:32:50 xsa Exp $ */
/*
* Copyright (c) 2004 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -92,7 +92,7 @@ cvs_import_options(char *opt, int argc, char **argv, int *arg)
cvs_msg = strdup(optarg);
if (cvs_msg == NULL) {
cvs_log(LP_ERRNO, "failed to copy message");
- return (EX_DATAERR);
+ return (-1);
}
break;
default:
@@ -128,7 +128,7 @@ cvs_import_sendflags(struct cvsroot *root)
(cvs_sendarg(root, module, 0) < 0) ||
(cvs_sendarg(root, vendor, 0) < 0) ||
(cvs_sendarg(root, release, 0) < 0))
- return (EX_PROTOCOL);
+ return (-1);
return (0);
}