summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-06-16 07:46:42 +0000
committerxsa <xsa@openbsd.org>2005-06-16 07:46:42 +0000
commita06e2578d02fcb8b786cae441a51a336fd08eb79 (patch)
treecaa6b37e23bc99384cdcf7c284282e5c765f78c0
parentadd support for the Belkin F5D7050 54g USB Network Adapter (diff)
downloadwireguard-openbsd-a06e2578d02fcb8b786cae441a51a336fd08eb79.tar.xz
wireguard-openbsd-a06e2578d02fcb8b786cae441a51a336fd08eb79.zip
match gnu/usr.bin/cvs error msg output on bad CVSROOT error; ok joris
-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.");