summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-04 14:25:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-04 14:25:49 +0000
commit51d6259470fb1d02503a2c0de2c806026d87c396 (patch)
tree5c7671b3a9121c099648c82007f8615aaaa022c8 /perl-install/fsedit.pm
parent823defcb7c1e66a5aafb9d94ca9c7ecef238f12c (diff)
downloaddrakx-51d6259470fb1d02503a2c0de2c806026d87c396.tar
drakx-51d6259470fb1d02503a2c0de2c806026d87c396.tar.gz
drakx-51d6259470fb1d02503a2c0de2c806026d87c396.tar.bz2
drakx-51d6259470fb1d02503a2c0de2c806026d87c396.tar.xz
drakx-51d6259470fb1d02503a2c0de2c806026d87c396.zip
use if_() where possible (as reported by perl_checker)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 4a46dd95c..731824dd5 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -59,9 +59,9 @@ my @partitions_signatures = (
[ 0x82, 4086, "SWAPSPACE2" ],
[ 0x7, 0x1FE, "\x55\xAA", 0x3, "NTFS" ],
[ 0xc, 0x1FE, "\x55\xAA", 0x52, "FAT32" ],
-arch() !~ /^sparc/ ? (
+if_(arch() !~ /^sparc/,
[ 0x6, 0x1FE, "\x55\xAA", 0x36, "FAT" ],
-) : (),
+),
);
sub typeOfPart {