[PATCH] cosmetic: remove right alignment on driver list

Franck Jullien franck.jullien at gmail.com
Tue Oct 16 15:58:11 EDT 2012


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

Signed-off-by: Franck Jullien <franck.jullien at 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




More information about the barebox mailing list