summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)));