diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-01-13 05:39:08 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-01-13 05:39:08 +0000 |
commit | ff34a861ce966eae1bae64533ce2f7de5202cac4 (patch) | |
tree | b1b18fd4a7bf1f0f412e37618e4225d3eabc5f1c | |
parent | 86f6e16e2c70d1e189cefed01fbef8107db08515 (diff) |
when warning about unimplemented handlers, do not attempt to print
the errno message string
-rw-r--r-- | usr.bin/cvs/req.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/resp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/req.c b/usr.bin/cvs/req.c index c78319433b6..f0a7297def0 100644 --- a/usr.bin/cvs/req.c +++ b/usr.bin/cvs/req.c @@ -1,4 +1,4 @@ -/* $OpenBSD: req.c,v 1.9 2004/12/28 20:46:13 jfb Exp $ */ +/* $OpenBSD: req.c,v 1.10 2005/01/13 05:39:07 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -175,7 +175,7 @@ cvs_req_handle(char *line) if (req == NULL) return (-1); else if (cvs_req_swtab[req->req_id].hdlr == NULL) { - cvs_log(LP_ERRNO, "handler for `%s' not implemented", cmd); + cvs_log(LP_ERR, "handler for `%s' not implemented", cmd); return (-1); } diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 238e876a625..ffd32c06bea 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.19 2005/01/06 18:40:33 jfb Exp $ */ +/* $OpenBSD: resp.c,v 1.20 2005/01/13 05:39:07 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -161,7 +161,7 @@ cvs_resp_handle(struct cvsroot *root, char *line) if (resp == NULL) { return (-1); } else if (cvs_resp_swtab[resp->resp_id].hdlr == NULL) { - cvs_log(LP_ERRNO, "handler for `%s' not implemented", cmd); + cvs_log(LP_ERR, "handler for `%s' not implemented", cmd); return (-1); } |