diff options
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 96faf3060..15f470e47 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -52,7 +52,7 @@ sub entry { my ($type, $major, $minor); local ($_) = @_; - if (/^([\da-f]{3,4})$/i) { + if (/^0x([\da-f]{3,4})$/i) { $type = c::S_IFBLK(); ($major, $minor) = unmakedev(hex $1); } elsif (/^sd(.)(\d{0,2})/) { |