mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Merge pull request #949 from mickey-happygolucky/master
Fix device name of mmc on Edit Partition.
This commit is contained in:
@@ -106,7 +106,9 @@ print &ui_table_row($text{'edit_location'},
|
||||
$dinfo->{'device'});
|
||||
|
||||
# Device name
|
||||
$dev = $dinfo->{'prefix'}.$np;
|
||||
$dev = $dinfo->{'prefix'} =~ /^\/dev\/mmcblk.*/ ?
|
||||
$dinfo->{'prefix'}.'p'.$np :
|
||||
$dinfo->{'prefix'}.$np;
|
||||
print &ui_table_row($text{'edit_device'}, $dev);
|
||||
|
||||
# Partition type
|
||||
|
||||
Reference in New Issue
Block a user