diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 17:31:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 17:31:42 +0000 |
commit | 25f65beed0677fa247c513705dbf538225f979c4 (patch) | |
tree | e0ec937937cba2d6279e97b3b7036fe0856d5bb2 /perl-install/resize_fat/io.pm | |
parent | a0b5f74447cc699c43c354cb6397ed554605729b (diff) | |
download | drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.gz drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.bz2 drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.tar.xz drakx-backup-do-not-use-25f65beed0677fa247c513705dbf538225f979c4.zip |
no_comment
Diffstat (limited to 'perl-install/resize_fat/io.pm')
-rw-r--r-- | perl-install/resize_fat/io.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/resize_fat/io.pm b/perl-install/resize_fat/io.pm index 4d1a37158..48309db91 100644 --- a/perl-install/resize_fat/io.pm +++ b/perl-install/resize_fat/io.pm @@ -26,7 +26,7 @@ sub read_cluster($$) { my $buf; eval { - $buf = &read($fs, + $buf = &read($fs, $fs->{cluster_offset} + $cluster * $fs->{cluster_size}, $fs->{cluster_size}); }; @$ and die "reading cluster #$cluster failed on device $fs->{fs_name}"; @@ -36,9 +36,9 @@ sub write_cluster($$$) { my ($fs, $cluster, $buf) = @_; eval { - &write($fs, + &write($fs, $fs->{cluster_offset} + $cluster * $fs->{cluster_size}, - $fs->{cluster_size}, + $fs->{cluster_size}, $buf); }; @$ and die "writing cluster #$cluster failed on device $fs->{fs_name}"; } |