mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Remember to set the d_type field correctly
This commit is contained in:
parent
02006c7644
commit
e0196256c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4274
@ -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 New Issue
Block a user