summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2002-12-26 21:16:27 +0000
committerhv <hv@crypt.org>2003-01-07 09:20:22 +0000
commit35c1215df9ec9cb54402afdda4ed360fdbf58539 (patch)
tree428c7477ff36d5e64082475edd727fed8e983bb8 /doio.c
parent6e6ef6b23f1f2cc3827f9559a7259c79757c4116 (diff)
downloadperl-35c1215df9ec9cb54402afdda4ed360fdbf58539.tar.gz
%_ (was Re: [PATCH] operation on `PL_na' may be undefined)
Message-ID: <20021226211626.GD284@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18456
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/doio.c b/doio.c
index 9cfcc4e1c5..e23a2ca7d3 100644
--- a/doio.c
+++ b/doio.c
@@ -775,8 +775,8 @@ Perl_nextargv(pTHX_ register GV *gv)
{
if (ckWARN_d(WARN_INPLACE))
Perl_warner(aTHX_ packWARN(WARN_INPLACE),
- "Can't do inplace edit: %s would not be unique",
- SvPVX(sv));
+ "Can't do inplace edit: %"SVf" would not be unique",
+ sv);
do_close(gv,FALSE);
continue;
}
@@ -786,8 +786,8 @@ Perl_nextargv(pTHX_ register GV *gv)
if (PerlLIO_rename(PL_oldname,SvPVX(sv)) < 0) {
if (ckWARN_d(WARN_INPLACE))
Perl_warner(aTHX_ packWARN(WARN_INPLACE),
- "Can't rename %s to %s: %s, skipping file",
- PL_oldname, SvPVX(sv), Strerror(errno) );
+ "Can't rename %s to %"SVf": %s, skipping file",
+ PL_oldname, sv, Strerror(errno) );
do_close(gv,FALSE);
continue;
}
@@ -802,8 +802,8 @@ Perl_nextargv(pTHX_ register GV *gv)
if (link(PL_oldname,SvPVX(sv)) < 0) {
if (ckWARN_d(WARN_INPLACE))
Perl_warner(aTHX_ packWARN(WARN_INPLACE),
- "Can't rename %s to %s: %s, skipping file",
- PL_oldname, SvPVX(sv), Strerror(errno) );
+ "Can't rename %s to %"SVf": %s, skipping file",
+ PL_oldname, sv, Strerror(errno) );
do_close(gv,FALSE);
continue;
}