summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-23 04:11:20 +0000
commit4458a8a8985d3c7c66588ff1cf0748178ad23c17 (patch)
treea88ba2f5f2135cfeb37eee21471592a6e6e1d012 /perl-install/fs.pm
parent1d8347ff685c50364932f1b2e720a4a97c7d550c (diff)
downloaddrakx-backup-do-not-use-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar
drakx-backup-do-not-use-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.gz
drakx-backup-do-not-use-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.bz2
drakx-backup-do-not-use-4458a8a8985d3c7c66588ff1cf0748178ad23c17.tar.xz
drakx-backup-do-not-use-4458a8a8985d3c7c66588ff1cf0748178ad23c17.zip
replace pt_type2name($part->{pt_type}) with part2name($part)
(hoisting the dereferencing {pt_type})
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index b19eaf9f1..efd1502db 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -119,7 +119,7 @@ sub merge_fstabs {
$p->{pt_type} && $p2->{pt_type} && $p->{pt_type} ne $p2->{pt_type} && type2fs($p) ne type2fs($p2) &&
$p->{pt_type} ne 'auto' && $p2->{pt_type} ne 'auto' and
log::l("err, fstab and partition table do not agree for $p->{device} type: " .
- (type2fs($p) || pt_type2name($p->{pt_type})) . " vs ", (type2fs($p2) || pt_type2name($p2->{pt_type})));
+ (type2fs($p) || part2name($p)) . " vs ", (type2fs($p2) || part2name($p2)));
}
@l;
}