summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-05-22 15:46:31 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-05-22 15:46:31 +0000
commit06f95dcc1b4ae1bdde39826dadeea050324c1030 (patch)
tree2467e94b222cca828c423e9d64c9af4f7e347e6a /usr.bin/cvs
parenta55577901a382a63aa33e88d284fe1921dd6188b (diff)
Wrong function names in fatal messages fixed.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/logmsg.c4
-rw-r--r--usr.bin/cvs/update.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c
index 0445e653899..a2d440ce1ad 100644
--- a/usr.bin/cvs/logmsg.c
+++ b/usr.bin/cvs/logmsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: logmsg.c,v 1.47 2008/03/09 01:02:38 tobias Exp $ */
+/* $OpenBSD: logmsg.c,v 1.48 2008/05/22 15:46:30 tobias Exp $ */
/*
* Copyright (c) 2007 Joris Vink <joris@openbsd.org>
*
@@ -58,7 +58,7 @@ cvs_logmsg_read(const char *path)
fatal("cvs_logmsg_read: fdopen %s", strerror(errno));
if (st.st_size > SIZE_MAX)
- fatal("cvs_buf_load_fd: %s: file size too big", path);
+ fatal("cvs_logmsg_read: %s: file size too big", path);
lbuf = NULL;
bp = cvs_buf_alloc(st.st_size);
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index 9d3a8b486d4..cd2f25594a4 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.143 2008/05/22 15:45:01 tobias Exp $ */
+/* $OpenBSD: update.c,v 1.144 2008/05/22 15:46:30 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -247,7 +247,7 @@ cvs_update_leavedir(struct cvs_file *cf)
bufsize = st.st_blksize;
if (st.st_size > SIZE_MAX)
- fatal("cvs_buf_load_fd: %s: file size too big", cf->file_name);
+ fatal("cvs_update_leavedir: %s: file size too big", cf->file_name);
isempty = 1;
buf = xmalloc(bufsize);