--list-serial: Reduce indentation level. master
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 20 Jun 2019 16:15:44 +0000 (18:15 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 20 Jun 2019 16:15:44 +0000 (18:15 +0200)
This makes some cases of --list-serial output look a bit nicer.

show.c

diff --git a/show.c b/show.c
index 6509360..6086987 100644 (file)
--- a/show.c
+++ b/show.c
@@ -1084,7 +1084,7 @@ static void print_serial_port(gpointer data, gpointer user_data)
 
        port = (void *)data;
        (void)user_data;
-       printf("\t%s\t%s\n", port->name, port->description);
+       printf("  %s\t%s\n", port->name, port->description);
 }
 
 void show_serial_ports(void)