summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-30 17:58:48 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-30 17:58:48 +0000
commit4401a63ec9155a6c4b79ea25534ba711d0a8d997 (patch)
tree1e55bf3bb2aa3a0f5c04447ed632ddf4e388c0c7 /usr.bin/cvs/getlog.c
parent197de0d6d149ddaab539b1439f2670daffb5116f (diff)
strerror() -> rcs_errstr() when passing rcs_errno as argument;
Diffstat (limited to 'usr.bin/cvs/getlog.c')
-rw-r--r--usr.bin/cvs/getlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index e6114f61fcf..f2a38f7a010 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.53 2006/01/29 11:09:45 xsa Exp $ */
+/* $OpenBSD: getlog.c,v 1.54 2006/01/30 17:58:47 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -225,7 +225,7 @@ cvs_getlog_local(CVSFILE *cf, void *arg)
if ((rf = rcs_open(rcspath, RCS_READ|RCS_PARSE_FULLY)) == NULL)
fatal("cvs_getlog_local: rcs_open `%s': %s", rcspath,
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
cvs_printf("\nRCS file: %s", rcspath);
cvs_printf("\nWorking file: %s", cf->cf_name);