Namespace is 32-bits, don't cast it to 16 here

This commit is contained in:
Warner Losh 2017-06-27 16:48:05 +00:00
parent 355ffcc842
commit 1d6e811063

View File

@ -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