summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-06-16 07:46:43 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-06-16 07:46:43 +0000
commit7f3493f833d225d713b66d986cbb0f9223a75d4c (patch)
tree713d352672beb5414087c2d80eb836171639dc15 /usr.bin/cvs/cvs.c
parentc921428318791753a350745cbd2c1e2b30678b8c (diff)
match gnu/usr.bin/cvs error msg output on bad CVSROOT error; ok joris
Diffstat (limited to 'usr.bin/cvs/cvs.c')
-rw-r--r--usr.bin/cvs/cvs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 7b83b5b6f34..995333bdb65 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.70 2005/06/10 13:34:23 joris Exp $ */
+/* $OpenBSD: cvs.c,v 1.71 2005/06/16 07:46:42 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -207,7 +207,8 @@ main(int argc, char **argv)
cvs_log(LP_ABORT, "an operation on a file or directory failed");
break;
case CVS_EX_BADROOT:
- cvs_log(LP_ABORT,
+ /* match GNU CVS output, thus the LP_ERR and LP_ABORT codes. */
+ cvs_log(LP_ERR,
"No CVSROOT specified! Please use the `-d' option");
cvs_log(LP_ABORT,
"or set the CVSROOT enviroment variable.");