summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/resp.c
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2005-01-13 05:39:07 +0000
committerjfb <jfb@openbsd.org>2005-01-13 05:39:07 +0000
commit582d668d3063f45556a636ff950265037c363786 (patch)
treec84157cf63b9f50c30ac4dac03173894dae1ee52 /usr.bin/cvs/resp.c
parentHTML page does not seem to exist anymore so point to the PDF for now. (diff)
downloadwireguard-openbsd-582d668d3063f45556a636ff950265037c363786.tar.xz
wireguard-openbsd-582d668d3063f45556a636ff950265037c363786.zip
when warning about unimplemented handlers, do not attempt to print
the errno message string
Diffstat (limited to 'usr.bin/cvs/resp.c')
-rw-r--r--usr.bin/cvs/resp.c4
1 files changed, 2 insertions, 2 deletions
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);
}