]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Remove trailing "\n" so that the output is valid json
authorpuneet kandhari <puneetk@users.noreply.github.com>
Wed, 25 Jul 2018 19:46:26 +0000 (14:46 -0500)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 19:46:26 +0000 (14:46 -0500)
intel-nvme.c

index 102920a798f8cbe69528ac4d6c123316adc0b921..67b80031925e05a060c28ac9a6868cf1131d2b48 100644 (file)
@@ -171,7 +171,6 @@ static void show_intel_smart_log_jsn(struct nvme_additional_smart_log *smart,
        json_object_add_value_object(root, "Device stats", dev_stats);
 
        json_print_object(root, NULL);
-       printf("\n");
        json_free_object(root);
 }