From 4401a63ec9155a6c4b79ea25534ba711d0a8d997 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Mon, 30 Jan 2006 17:58:48 +0000 Subject: strerror() -> rcs_errstr() when passing rcs_errno as argument; --- usr.bin/cvs/import.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/cvs/import.c') 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 * 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) { -- cgit v1.2.3