From: puneet kandhari Date: Wed, 25 Jul 2018 19:46:26 +0000 (-0500) Subject: Remove trailing "\n" so that the output is valid json X-Git-Tag: v1.7~113^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cfc6a114db7beaff2d29061a30e6fbaf273ec7da;p=users%2Fsagi%2Fnvme-cli.git Remove trailing "\n" so that the output is valid json --- diff --git a/intel-nvme.c b/intel-nvme.c index 102920a7..67b80031 100644 --- a/intel-nvme.c +++ b/intel-nvme.c @@ -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); }