From cfc6a114db7beaff2d29061a30e6fbaf273ec7da Mon Sep 17 00:00:00 2001 From: puneet kandhari Date: Wed, 25 Jul 2018 14:46:26 -0500 Subject: [PATCH] Remove trailing "\n" so that the output is valid json --- intel-nvme.c | 1 - 1 file changed, 1 deletion(-) 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); } -- 2.50.1