linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme-cli: print "\n" after nvme list-subsys -o json
@ 2018-09-20 11:41 Yi Zhang
  2018-09-20 15:17 ` Keith Busch
  0 siblings, 1 reply; 2+ messages in thread
From: Yi Zhang @ 2018-09-20 11:41 UTC (permalink / raw)


Signed-off-by: Yi Zhang <yi.zhang at redhat.com>
---
 nvme-print.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nvme-print.c b/nvme-print.c
index 17b5eaf..df7df4d 100644
--- a/nvme-print.c
+++ b/nvme-print.c
@@ -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)
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] nvme-cli: print "\n" after nvme list-subsys -o json
  2018-09-20 11:41 [PATCH] nvme-cli: print "\n" after nvme list-subsys -o json Yi Zhang
@ 2018-09-20 15:17 ` Keith Busch
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2018-09-20 15:17 UTC (permalink / raw)


Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-20 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-20 11:41 [PATCH] nvme-cli: print "\n" after nvme list-subsys -o json Yi Zhang
2018-09-20 15:17 ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).