From: Tokunori Ikegami Date: Wed, 26 Feb 2025 16:15:45 +0000 (+0900) Subject: nvme-print-json: delete json_host_discovery_log printf error code X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ef478384a813894fe8b79c080620cfab2b1b09ff;p=users%2Fsagi%2Fnvme-cli.git nvme-print-json: delete json_host_discovery_log printf error code Missed to delete the printf call since copied from nvme-print-stdout. Signed-off-by: Tokunori Ikegami --- diff --git a/nvme-print-json.c b/nvme-print-json.c index 61a706a4..fdb970e1 100644 --- a/nvme-print-json.c +++ b/nvme-print-json.c @@ -4810,7 +4810,6 @@ static void json_host_discovery_log(struct nvme_host_discover_log *log) snprintf(json_str, sizeof(json_str), "exat: %d", j); obj_add_uint(exat_o, "exattype", le16_to_cpu(exat->exattype)); obj_add_uint(exat_o, "exatlen", le16_to_cpu(exat->exatlen)); - printf(":\n"); obj_d(exat_o, "exatval", (unsigned char *)exat->exatval, le16_to_cpu(exat->exatlen), 16, 1); obj_add_obj(hedlpe_o, json_str, exat_o);