summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-08-29 21:15:07 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-08-29 21:15:07 +0000
commit60828661d28cdcf08963faeb141c2fca6c33dc42 (patch)
tree17465a2e37f45652c12b95fc47154e0954736f6f /usr.bin
parent5e4b579ce857e5e058c8147bb27ede56ec4027a4 (diff)
correct error string in cvs_buf_load_fd() to match the function.
from Igor Zinovik
Diffstat (limited to 'usr.bin')
-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 2018fbf7cf8..28134f5a1d2 100644
--- a/usr.bin/cvs/buf.c
+++ b/usr.bin/cvs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.63 2007/08/29 09:35:42 joris Exp $ */
+/* $OpenBSD: buf.c,v 1.64 2007/08/29 21:15:06 joris Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -110,7 +110,7 @@ cvs_buf_load_fd(int fd, u_int flags)
len = SIZE_LEFT(buf);
ret = read(fd, bp, len);
if (ret == -1)
- fatal("cvs_buf_load: read: %s", strerror(errno));
+ fatal("cvs_buf_load_fd: read: %s", strerror(errno));
else if (ret == 0)
break;