From cc807715c78fc998e3d486bc5724e903b0e229a0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 25 Jul 2001 17:04:55 +0000 Subject: do not export sync, keep it in common (esp. so that it doesn't conflict with my_gtk::sync --- perl-install/partition_table_raw.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/partition_table_raw.pm') 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 { -- cgit v1.2.1