From b0ad9c70bcf9e3442727eea3f5ebae6b76518db1 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Tue, 7 Mar 2006 17:22:09 +0000 Subject: no need to duplicate error message; --- usr.bin/cvs/buf.c | 4 ++-- 1 file 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 * 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); } -- cgit v1.2.3