Skip to contentSkip to conversation

nvme-cli: print "\n" after nvme list-subsys -o json

PATCH New Yi Zhang 2 participants 2 messages Sep 20, 2018 NVMe

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 nvme-cli: print "\n" after nvme list-subsys -o json

Signed-off-by Yi Zhang <yi.zhang at redhat.com>
---
 nvme-print.c | 1 +
 1 file changed, 1 insertion(+)
nvme-print.c +1 -0
index 17b5eaf..df7df4d 100644
@@ -2823,6 +2823,7 @@ void json_print_nvme_subsystem_list(struct subsys_list_item *slist, int n)
 	if (i)
 		json_object_add_value_array(root, "Subsystems", subsystems);
 	json_print_object(root, NULL);
+	printf("\n");
 }
 
 static void show_registers_cap(struct nvme_bar_cap *cap)
Signature · 1 line
2.17.1
Applied
#1 lore raw

PATCH 1/1 nvme-cli: print "\n" after nvme list-subsys -o json

Applied, thanks.