summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-03-07 17:22:09 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-03-07 17:22:09 +0000
commitb0ad9c70bcf9e3442727eea3f5ebae6b76518db1 (patch)
tree9d7b99a5dfda5eec87d263542968eeb6e001c33e /usr.bin/cvs
parentd51130fb2ee7f121511992d10659d35c81d61576 (diff)
no need to duplicate error message;
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c
index d2c652a120e..052c1a5df6e 100644
--- a/usr.bin/cvs/buf.c
+++ b/usr.bin/cvs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.34 2006/03/06 15:04:17 niallo Exp $ */
+/* $OpenBSD: buf.c,v 1.35 2006/03/07 17:22:08 xsa Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -95,7 +95,7 @@ cvs_buf_load(const char *path, u_int flags)
BUF *buf;
if ((fd = open(path, O_RDONLY, 0600)) == -1) {
- cvs_log(LP_ERRNO, "%s: %s", path, strerror(errno));
+ cvs_log(LP_ERRNO, "%s", path);
return (NULL);
}