summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/import.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/import.c
parent197de0d6d149ddaab539b1439f2670daffb5116f (diff)
strerror() -> rcs_errstr() when passing rcs_errno as argument;
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r--usr.bin/cvs/import.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 0f08c357215..f3693584856 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.37 2006/01/27 10:39:49 xsa Exp $ */
+/* $OpenBSD: import.c,v 1.38 2006/01/30 17:58:47 xsa Exp $ */
/*
* Copyright (c) 2004 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -282,7 +282,7 @@ cvs_import_local(CVSFILE *cf, void *arg)
if ((rf = rcs_open(rpath, RCS_RDWR|RCS_CREATE)) == NULL);
fatal("cvs_import_local: rcs_open: `%s': %s", rpath,
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
comment = rcs_comment_lookup(cf->cf_name);
if ((comment != NULL) && (rcs_comment_set(rf, comment) < 0)) {
@@ -301,7 +301,7 @@ cvs_import_local(CVSFILE *cf, void *arg)
if (rcs_sym_add(rf, release, rev) < 0) {
(void)unlink(rpath);
fatal("cvs_import_local: rcs_sym_add failed: %s",
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
}
rcsnum_cpy(imp_brnum, rev, 2);
@@ -320,13 +320,13 @@ cvs_import_local(CVSFILE *cf, void *arg)
if (rcs_branch_set(rf, imp_brnum) < 0) {
(void)unlink(rpath);
fatal("cvs_import_local: rcs_branch_set failed: %s",
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
}
if (rcs_sym_add(rf, vendor, imp_brnum) < 0) {
(void)unlink(rpath);
fatal("cvs_import_local: rcs_sym_add failed: %s",
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
}
if ((bp = cvs_buf_load(fpath, BUF_AUTOEXT)) == NULL) {