[PATCH] cosmetic: remove right alignment on driver list

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 16 17:48:41 EDT 2012


On Tue, Oct 16, 2012 at 09:58:11PM +0200, Franck Jullien wrote:
> 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>

Applied, thanks

Sascha

> ---
>  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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list