summaryrefslogtreecommitdiffstats
path: root/perl-install/resize_fat/directory.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/resize_fat/directory.pm')
-rw-r--r--perl-install/resize_fat/directory.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/resize_fat/directory.pm b/perl-install/resize_fat/directory.pm
index 55bae687f..a742d7c26 100644
--- a/perl-install/resize_fat/directory.pm
+++ b/perl-install/resize_fat/directory.pm
@@ -41,10 +41,10 @@ sub traverse($$$) {
#- empty entry means end of directory
$$raw =~ /^\0*$/ and return $directory;
- my $entry; @{$entry}{@fields} = unpack $format, $$raw;
+ my $entry; @$entry{@fields} = unpack $format, $$raw;
&$f($curr_dir_name, $entry)
- and $$raw = pack $format, @{$entry}{@fields};
+ and $$raw = pack $format, @$entry{@fields};
}
$directory;
}