From 6ef3d8d096a641686bfdd112035aa04aa16fe81a Mon Sep 17 00:00:00 2001 From: Tomas McMonigal Date: Fri, 20 Nov 2020 12:34:17 -0600 Subject: [PATCH] Fix formatting for lsuio output of new line For each uio device a white line was being printed before listing its attributes. Thus it became part of the next block of text making it seem like it belongs to the properties of the next uio device. Now each block of text corresponds to each uio device. Signed-off-by: Tomas McMonigal --- lsuio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsuio.c b/lsuio.c index b93e803..528831e 100644 --- a/lsuio.c +++ b/lsuio.c @@ -112,7 +112,6 @@ int main (int argc, char **argv) uio_get_offset (info, i)); } } - g_print (_("\n")); g_print (_("Attr. :\n")); attr = uio_list_attr (info); @@ -142,6 +141,7 @@ int main (int argc, char **argv) else g_print (_("failed\n")); } + g_print (_("\n")); } free (uio_list);