Skip to content

Commit

Permalink
Fix formatting for lsuio output of new line
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
AnakinSkywalker5 authored and sephalon committed Aug 16, 2021
1 parent fcea3ed commit 6ef3d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsuio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -142,6 +141,7 @@ int main (int argc, char **argv)
else
g_print (_("failed\n"));
}
g_print (_("\n"));
}

free (uio_list);
Expand Down

0 comments on commit 6ef3d8d

Please sign in to comment.