summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/admin.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/admin.c
parent197de0d6d149ddaab539b1439f2670daffb5116f (diff)
strerror() -> rcs_errstr() when passing rcs_errno as argument;
Diffstat (limited to 'usr.bin/cvs/admin.c')
-rw-r--r--usr.bin/cvs/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c
index 2fdc992e838..2c408c46b96 100644
--- a/usr.bin/cvs/admin.c
+++ b/usr.bin/cvs/admin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: admin.c,v 1.27 2006/01/27 15:26:38 xsa Exp $ */
+/* $OpenBSD: admin.c,v 1.28 2006/01/30 17:58:47 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
@@ -360,7 +360,7 @@ cvs_admin_local(CVSFILE *cf, void *arg)
if ((rf = rcs_open(rcspath, RCS_RDWR)) == NULL)
fatal("cvs_admin_local: rcs_open `%s': %s", rcspath,
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
if (!RCS_KWEXP_INVAL(kflag))
ret = rcs_kwexp_set(rf, kflag);