From 00e01df44042e0b2f40f52b44729a9d24e4e93d3 Mon Sep 17 00:00:00 2001 From: Gollu Appalanaidu Date: Sat, 29 May 2021 23:31:41 +0530 Subject: [PATCH] nvme-print: sanitize log style fix Signed-off-by: Gollu Appalanaidu --- nvme-print.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvme-print.c b/nvme-print.c index 9cfb9bef..533e588a 100755 --- a/nvme-print.c +++ b/nvme-print.c @@ -5207,9 +5207,8 @@ void nvme_show_sanitize_log(struct nvme_sanitize_log_page *sanitize, if (flags & BINARY) return d_raw((unsigned char *)sanitize, sizeof(*sanitize)); - else if (flags & JSON) { - return json_sanitize_log(sanitize, devname); - } + else if (flags & JSON) + return json_sanitize_log(sanitize, devname); printf("Sanitize Progress (SPROG) : %u", le16_to_cpu(sanitize->progress)); -- 2.50.1