]> 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>
Wed, 20 Oct 2021 16:32:13 +0000 (01:32 +0900)
committerTokunori Ikegami <ikegami.t@gmail.com>
Wed, 20 Oct 2021 16:32:13 +0000 (01:32 +0900)
commit4c7b19a1f62736e0eb501cb8780caf1377c99e14
tree7627012d60cbd0680c1ba02a86339459a7061261
parentf38d0c1c20db1c8e870ba828be1bd960511dba98
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