diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2015-02-12 00:29:32 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-02-15 09:21:09 +0100 |
commit | eb605d72b2331025b417500fa78d3d82d16ebfcf (patch) | |
tree | 05d6a742f296f52bfaca0336dda5ac35f98213c5 /src/device/device_util.c | |
parent | e77e37b957daac1a5d3cf53cce5dd50a8dd863d4 (diff) | |
download | coreboot-eb605d72b2331025b417500fa78d3d82d16ebfcf.tar.xz |
device/device_util.c: Add space after ellipse for better legibility
Currently the coreboot console log contains messages in the following
form.
Show all devs...Before device enumeration.
[…]
Show all devs...After init.
Add a space after the ellipse, so it’s better readable and it does not
look like a newline is missing.
Show all devs... Before device enumeration.
[…]
Show all devs... After init.
Change-Id: Ifa2a37b8d60c433c219df7533a79fced03b6271a
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/8424
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r-- | src/device/device_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c index d5466cb011..62a815f939 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -818,7 +818,7 @@ void show_devs_tree(struct device *dev, int debug_level, int depth, int linknum) void show_all_devs_tree(int debug_level, const char *msg) { /* Bail if not printing to screen. */ - if (!do_printk(debug_level, "Show all devs in tree form...%s\n", msg)) + if (!do_printk(debug_level, "Show all devs in tree form... %s\n", msg)) return; show_devs_tree(all_devices, debug_level, 0, -1); } @@ -826,7 +826,7 @@ void show_all_devs_tree(int debug_level, const char *msg) void show_devs_subtree(struct device *root, int debug_level, const char *msg) { /* Bail if not printing to screen. */ - if (!do_printk(debug_level, "Show all devs in subtree %s...%s\n", + if (!do_printk(debug_level, "Show all devs in subtree %s... %s\n", dev_path(root), msg)) return; do_printk(debug_level, "%s\n", msg); @@ -838,7 +838,7 @@ void show_all_devs(int debug_level, const char *msg) struct device *dev; /* Bail if not printing to screen. */ - if (!do_printk(debug_level, "Show all devs...%s\n", msg)) + if (!do_printk(debug_level, "Show all devs... %s\n", msg)) return; for (dev = all_devices; dev; dev = dev->next) { do_printk(debug_level, "%s: enabled %d\n", @@ -878,7 +878,7 @@ void show_all_devs_resources(int debug_level, const char* msg) { struct device *dev; - if (!do_printk(debug_level, "Show all devs with resources...%s\n", msg)) + if (!do_printk(debug_level, "Show all devs with resources... %s\n", msg)) return; for (dev = all_devices; dev; dev = dev->next) { |