Namespace is 32-bits, don't cast it to 16 here
This commit is contained in:
parent
355ffcc842
commit
1d6e811063
@ -743,7 +743,7 @@ ndaregister(struct cam_periph *periph, void *arg)
|
||||
/*
|
||||
* The name space ID is the lun, save it for later I/O
|
||||
*/
|
||||
softc->nsid = (uint16_t)xpt_path_lun_id(periph->path);
|
||||
softc->nsid = (uint32_t)xpt_path_lun_id(periph->path);
|
||||
|
||||
/*
|
||||
* Register this media as a disk
|
||||
|
Loading…
Reference in New Issue
Block a user