]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
lnvm: do not print 0 when the arg is not given
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sat, 20 Jul 2019 08:35:26 +0000 (17:35 +0900)
committerMinwoo Im <minwoo.im.dev@gmail.com>
Tue, 23 Jul 2019 14:31:26 +0000 (23:31 +0900)
commite8e7721bd39295b79a1dcc333298c3d9d49c6730
tree19147857c88b81203433ea6650f02d604bb49557
parentbd767a56b1bdf49b897277d088f58f49a8da8dc7
lnvm: do not print 0 when the arg is not given

If an argument is not given by the user, it just needs to show the
situation, not a prominent 0 which indicates the size of the argument
variable.

Cc: Keith Busch <kbusch@kernel.org>
Cc: Matias Bjorling <mb@lightnvm.io>
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Javier González <javier@javigon.com>
plugins/lnvm/lnvm-nvme.c