The controller type should be printed out when the human-readable
option is given.
Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
show_nvme_id_ctrl_ctratt(ctrl->ctratt);
printf("rrls : %#x\n", le16_to_cpu(ctrl->rrls));
printf("cntrltype : %d\n", ctrl->cntrltype);
+ if (human)
show_nvme_id_ctrl_cntrltype(ctrl->cntrltype);
printf("fguid : %-.*s\n", (int)sizeof(ctrl->fguid), ctrl->fguid);
printf("crdt1 : %u\n", le16_to_cpu(ctrl->crdt1));