Skip to content

Commit 6465c07

Browse files
committed
nvme-print: fix nvme_show_cmd_err to pass admin parameter
Since previously always use false without the admin value. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent bca4846 commit 6465c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nvme-print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ static void nvme_show_cmd_err(const char *msg, bool admin, __u8 *opcode,
530530
else if (err < 0)
531531
nvme_show_error("%s: %s", msg, nvme_strerror(-err));
532532
else if (opcode)
533-
nvme_show_opcode_status(err, false, *opcode);
533+
nvme_show_opcode_status(err, admin, *opcode);
534534
else
535535
nvme_show_status(err);
536536
}

0 commit comments

Comments
 (0)