summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.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/checkout.c
parent197de0d6d149ddaab539b1439f2670daffb5116f (diff)
strerror() -> rcs_errstr() when passing rcs_errno as argument;
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index fbd907f0f28..96781faab37 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.48 2006/01/27 12:56:28 xsa Exp $ */
+/* $OpenBSD: checkout.c,v 1.49 2006/01/30 17:58:47 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -335,7 +335,7 @@ cvs_checkout_local(CVSFILE *cf, void *arg)
if ((rf = rcs_open(rcspath, RCS_READ)) == NULL)
fatal("cvs_checkout_local: rcs_open `%s': %s", rcspath,
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
if (cvs_checkout_rev(rf, rf->rf_head, cf, fpath,
(cvs_cmdop != CVS_OP_SERVER) ? 1 : 0,