mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] cosmetic: remove right alignment on driver list
@ 2012-10-16 19:58 Franck Jullien
  2012-10-16 21:48 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Franck Jullien @ 2012-10-16 19:58 UTC (permalink / raw)
  To: barebox

In order to avoid misalignment, just remove the right alignment while
printing the drivers list.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
---
 drivers/base/driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 64fe289..0879cd0 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
 
 		printf("\ndrivers:\n");
 		for_each_driver(drv)
-			printf("%10s\n",drv->name);
+			printf("%s\n",drv->name);
 	} else {
 		dev = get_device_by_name(argv[1]);
 
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH] cosmetic: remove right alignment on driver list
@ 2012-10-14 11:34 Franck Jullien
  2012-10-14 11:36 ` Franck Jullien
  0 siblings, 1 reply; 4+ messages in thread
From: Franck Jullien @ 2012-10-14 11:34 UTC (permalink / raw)
  To: barebox

From: franck <franck@franck-M1110M.(none)>

In order to avoid misalignment, just remove the right alignment while printing the drivers list.
---
 drivers/base/driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 64fe289..0879cd0 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
 
 		printf("\ndrivers:\n");
 		for_each_driver(drv)
-			printf("%10s\n",drv->name);
+			printf("%s\n",drv->name);
 	} else {
 		dev = get_device_by_name(argv[1]);
 
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-10-16 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-16 19:58 [PATCH] cosmetic: remove right alignment on driver list Franck Jullien
2012-10-16 21:48 ` Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2012-10-14 11:34 Franck Jullien
2012-10-14 11:36 ` Franck Jullien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox