summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-02-26 09:45:03 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-02-26 09:45:03 +0000
commitec4d650170f5013045e6e1e62f3496b0074a7095 (patch)
tree24ce5bab226358cadaad4581a3d0a6e27338fe07
parent6995b8a0f0b0b8d71948364473aaef41fc8b9cc4 (diff)
better user-friendly error message.
-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 b0a3a8614b3..1bcf4ba635f 100644
--- a/usr.bin/cvs/buf.c
+++ b/usr.bin/cvs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.32 2006/01/29 17:50:08 niallo Exp $ */
+/* $OpenBSD: buf.c,v 1.33 2006/02/26 09:45:02 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)
- fatal("cvs_buf_load: open: `%s': %s", path, strerror(errno));
+ fatal("%s: %s", path, strerror(errno));
if (fstat(fd, &st) == -1)
fatal("cvs_buf_load: fstat: %s", strerror(errno));