]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: fix argument order for show functions
authorCaleb Sander <csander@purestorage.com>
Thu, 6 Jul 2023 23:20:57 +0000 (17:20 -0600)
committerDaniel Wagner <wagi@monom.org>
Mon, 10 Jul 2023 07:55:40 +0000 (09:55 +0200)
commita9a75dfe94ee11e1de514358378bd61cda241995
tree45750defe1d4de4b8fa0e8114642c1601d2382cc
parentd6c07e0de9be777009ebb9ab7475bee1ae3e0e95
nvme-print: fix argument order for show functions

nvme_show_ana_log() and nvme_show_boot_part_log() are being called
with their "length" and "flags" arguments swapped.
Fix this so their output is displayed correctly.

Fixes #1994

Fixes: 62a0ce1 ("nvme-print: Unify flag passing into functions")
Fixes: 079afcd ("nvme: add boot partition log support")
Signed-off-by: Caleb Sander <csander@purestorage.com>
nvme.c