diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-25 17:04:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-25 17:04:55 +0000 |
commit | cc807715c78fc998e3d486bc5724e903b0e229a0 (patch) | |
tree | 858797d5b502cc8dce338cedb6bae6ebade87660 /perl-install/partition_table_raw.pm | |
parent | 43149ab549f7e43bb1af88c1cbc95dc014a03dd7 (diff) | |
download | drakx-cc807715c78fc998e3d486bc5724e903b0e229a0.tar drakx-cc807715c78fc998e3d486bc5724e903b0e229a0.tar.gz drakx-cc807715c78fc998e3d486bc5724e903b0e229a0.tar.bz2 drakx-cc807715c78fc998e3d486bc5724e903b0e229a0.tar.xz drakx-cc807715c78fc998e3d486bc5724e903b0e229a0.zip |
do not export sync, keep it in common (esp. so that it doesn't conflict with my_gtk::sync
Diffstat (limited to 'perl-install/partition_table_raw.pm')
-rw-r--r-- | perl-install/partition_table_raw.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 0323eddf9..28b0db3bb 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -109,13 +109,13 @@ sub openit($$;$) { sysopen $_[1], $_[0]{file}, $_[2] || 0; } # cause kernel to re-read partition table sub kernel_read($) { my ($hd) = @_; - sync(); + common::sync(); local *F; openit($hd, *F) or return 0; - sync(); sleep(1); + common::sync(); sleep(1); $hd->{rebootNeeded} = !ioctl(F, c::BLKRRPART(), 0); - sync(); + common::sync(); close F; - sync(); sleep(1); + common::sync(); sleep(1); } sub zero_MBR { |