mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Remember to set the d_type field correctly
This commit is contained in:
parent
02006c7644
commit
e0196256c7
1 changed files with 6 additions and 0 deletions
|
|
@ -436,6 +436,12 @@ DiskLabel()
|
|||
lbl->d_partitions[i].p_fstype = 0;
|
||||
}
|
||||
lbl->d_npartitions = MAXPARTITIONS;
|
||||
|
||||
if(Dname[diskno][0] == 's' && Dname[diskno][1] == 'd')
|
||||
lbl->d_type = DTYPE_SCSI;
|
||||
else
|
||||
lbl->d_type = DTYPE_ST506;
|
||||
|
||||
while(!done) {
|
||||
clear(); standend();
|
||||
if (yip) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue