summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-12-14 10:04:09 +0000
committerOlivier Blin <oblin@mandriva.com>2009-12-14 10:04:09 +0000
commit534b414276ed53ecd23fbfe78636e0004b2f91d7 (patch)
tree59a81350d5d1ec5a4af5bd377505aa227a7b72b5 /perl-install/devices.pm
parentd55a80e0aae1aedaa3c0900b7a58fdc5f2bb1e23 (diff)
downloaddrakx-534b414276ed53ecd23fbfe78636e0004b2f91d7.tar
drakx-534b414276ed53ecd23fbfe78636e0004b2f91d7.tar.gz
drakx-534b414276ed53ecd23fbfe78636e0004b2f91d7.tar.bz2
drakx-534b414276ed53ecd23fbfe78636e0004b2f91d7.tar.xz
drakx-534b414276ed53ecd23fbfe78636e0004b2f91d7.zip
fix sysfs path
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 6168973a8..a50d70953 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -159,7 +159,7 @@ sub entry {
$sysdev = "/sys/block/$_/dev";
$type = c::S_IFBLK();
} elsif (/^(.+)(\d+)$/ && -e "/sys/block/$1/$_/dev") {
- $sysdev = "/sys/block/$_/dev";
+ $sysdev = "/sys/block/$1/$_/dev";
$type = c::S_IFBLK();
}
($major, $minor) = split(':', chomp_(cat_($sysdev)));