From 78e8097c578fb334c7440a5459fdb7aecc827feb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 14 Nov 2002 17:36:32 +0000 Subject: - add/remove spaces to make perl_checker happy - remove redundant parentheses - add some parentheses for clarity --- perl-install/partition_table/dos.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table/dos.pm') diff --git a/perl-install/partition_table/dos.pm b/perl-install/partition_table/dos.pm index 3518e6738..b5f16df87 100644 --- a/perl-install/partition_table/dos.pm +++ b/perl-install/partition_table/dos.pm @@ -42,7 +42,7 @@ sub CHS2rawCHS { $h = $hd->{geom}{heads} - 1; $s = $hd->{geom}{sectors}; } - ($c & 0xff, $h, $s | ($c >> 2 & 0xc0)); + ($c & 0xff, $h, $s | (($c >> 2) & 0xc0)); } # returns (cylinder, head, sector) -- cgit v1.2.1