From: Daniel Wagner Date: Wed, 18 May 2022 12:17:03 +0000 (+0200) Subject: nvme-print: Show mec field in human output instead of vwci X-Git-Tag: v2.1-rc0~49^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e37b943e2effc5450c24bed0af87bfe4c85925f7;p=users%2Fsagi%2Fnvme-cli.git nvme-print: Show mec field in human output instead of vwci Looks like a copy&past error for the human output. Reported-by: mgerdts Signed-off-by: Daniel Wagner Fix: 43460fcce21b ("nvme: add identify controller structure 2.0 spec. fields") --- diff --git a/nvme-print.c b/nvme-print.c index 60941191..1e4e4c8c 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -4568,7 +4568,7 @@ void nvme_show_id_ctrl(struct nvme_id_ctrl *ctrl, enum nvme_print_flags flags, nvme_show_id_ctrl_vwci(ctrl->vwci); printf("mec : %u\n", ctrl->mec); if (human) - nvme_show_id_ctrl_mec(ctrl->vwci); + nvme_show_id_ctrl_mec(ctrl->mec); printf("oacs : %#x\n", le16_to_cpu(ctrl->oacs)); if (human)