Skip to content

Commit ef47838

Browse files
ikegami-tigaw
authored andcommitted
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 <ikegami.t@gmail.com>
1 parent eeb7d80 commit ef47838

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nvme-print-json.c

-1
Original file line numberDiff line numberDiff line change
@@ -4810,7 +4810,6 @@ static void json_host_discovery_log(struct nvme_host_discover_log *log)
48104810
snprintf(json_str, sizeof(json_str), "exat: %d", j);
48114811
obj_add_uint(exat_o, "exattype", le16_to_cpu(exat->exattype));
48124812
obj_add_uint(exat_o, "exatlen", le16_to_cpu(exat->exatlen));
4813-
printf(":\n");
48144813
obj_d(exat_o, "exatval", (unsigned char *)exat->exatval,
48154814
le16_to_cpu(exat->exatlen), 16, 1);
48164815
obj_add_obj(hedlpe_o, json_str, exat_o);

0 commit comments

Comments
 (0)