]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: Output 128bit values as uint128 type instead of double
authorSteven Seungcheol Lee <sc108.lee@samsung.com>
Wed, 7 Sep 2022 09:16:11 +0000 (11:16 +0200)
committerDaniel Wagner <dwagner@suse.de>
Wed, 7 Sep 2022 09:27:26 +0000 (11:27 +0200)
commit9e6a0b8e16314498a17078f3bbff0ce47a3ccee8
tree558d86d8a54466e638e806e42a66bcecc4291b61
parenta1fe47543688746ed14faed396c10c489a40ab77
nvme-print: Output 128bit values as uint128 type instead of double

The 128bit types should be printed as integer not as double. The
print function for double type will add decimal points.

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
[dwagner: refactoring]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print.c