]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: Fix to print get and set feature hex digits correct width
authorTokunori Ikegami <ikegami.t@gmail.com>
Thu, 27 May 2021 18:11:29 +0000 (03:11 +0900)
committerKeith Busch <kbusch@kernel.org>
Fri, 11 Jun 2021 16:08:17 +0000 (10:08 -0600)
commit296191630d477674cb49364a75fce7872ea9a368
tree68123f65eb55d7849912da703bbcd71dce493543
parenta33c3e83312c5ba5ba2756f6f06c7991b9575ce0
nvme: Fix to print get and set feature hex digits correct width

Previously 2 hex digits not printed as "0x" was included the width specified.
To resolve this increase 2 digits number more if the value is not zero.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
nvme.c