diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-04-20 18:22:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-04-20 18:22:16 +0000 |
commit | b154c5277f8980c53a6961ba55f7c2e59ec63aaf (patch) | |
tree | e287de5aa223b41e6d50ede9e2a28e40c7de8f84 | |
parent | c1491d4e98b60a71680ffe22bb8a71c6be683e74 (diff) | |
download | drakx-backup-do-not-use-b154c5277f8980c53a6961ba55f7c2e59ec63aaf.tar drakx-backup-do-not-use-b154c5277f8980c53a6961ba55f7c2e59ec63aaf.tar.gz drakx-backup-do-not-use-b154c5277f8980c53a6961ba55f7c2e59ec63aaf.tar.bz2 drakx-backup-do-not-use-b154c5277f8980c53a6961ba55f7c2e59ec63aaf.tar.xz drakx-backup-do-not-use-b154c5277f8980c53a6961ba55f7c2e59ec63aaf.zip |
(create_display_box) fix crashing on calling a method on a non blessed reference
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index ee7253c65..7712301c3 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -287,7 +287,8 @@ sub warn_reboot_needed { sub create_display_box { my ($kind, $resize, $fill_empty, $button) = @_; - my @parts = fs::get::hds_fstab_and_holes($kind->{val}); + # perl_checker: require UNIVERSAL + my @parts = fs::get::hds_fstab_and_holes($kind->{val}) if UNIVERSAL::can($kind->{val}, 'first_usable_sector,'); my $totalsectors = $kind->{val}{totalsectors}; |