Skip to content

Commit c44bf20

Browse files
ikegami-tigaw
authored andcommitted
nvme: output copy command success message for json format
Use nvme_show_key_value() to output the message as json format. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 3b4a4a1 commit c44bf20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nvme.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7601,7 +7601,7 @@ static int copy_cmd(int argc, char **argv, struct command *cmd, struct plugin *p
76017601
else if (err != 0)
76027602
nvme_show_status(err);
76037603
else
7604-
printf("NVMe Copy: success\n");
7604+
nvme_show_key_value("NVMe Copy", "success");
76057605

76067606
return err;
76077607
}

0 commit comments

Comments
 (0)