diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-04-03 17:32:51 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-04-03 17:32:51 +0000 |
commit | 5084bac86a0c29797507aafc3a1f283df9a435e8 (patch) | |
tree | 14a72622e2e38c0d13ad93871a7f519329b15823 /usr.bin/cvs/proto.c | |
parent | 3edfba4e92c860e5173084d804678f462b212ef9 (diff) |
first round of EX_* exit codes removal; ok joris@.
Diffstat (limited to 'usr.bin/cvs/proto.c')
-rw-r--r-- | usr.bin/cvs/proto.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c index bb0ae6b904e..d7261493d4b 100644 --- a/usr.bin/cvs/proto.c +++ b/usr.bin/cvs/proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.45 2005/03/30 17:43:04 joris Exp $ */ +/* $OpenBSD: proto.c,v 1.46 2005/04/03 17:32:50 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -50,7 +50,6 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#include <sysexits.h> #include "buf.h" #include "cvs.h" @@ -260,7 +259,7 @@ cvs_connect(struct cvsroot *root) execvp(argv[0], argv); cvs_log(LP_ERRNO, "failed to exec"); - exit(EX_OSERR); + exit(1); } /* we are the parent */ |