From 416760cf6e1a2bcd8080388e290fa12e3e74c377 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 31 Jul 1999 17:49:30 +0000 Subject: no_comment --- perl-install/partition_table.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/partition_table.pm') diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 49058e9ed..fbd5a57df 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -362,14 +362,14 @@ sub load($$;$) { my ($hd, $file, $force) = @_; local *F; - open F, $file or die _("Error reading file $file"); + open F, $file or die _("Error reading file %s", $file); my $h; { no strict 'vars'; $h = eval join '', ; } - $@ and die _("Restoring from file $file failed: $@"); + $@ and die _("Restoring from file %s failed: %s", $file, $@); ref $h eq 'HASH' or die _("Bad backup file"); @@ -391,5 +391,5 @@ sub save($$) { local *F; open F, ">$file" and print F Dumper(\%h) - or die _("Error writing to file $file"); + or die _("Error writing to file %s", $file); } -- cgit v1.2.1