[PATCH] cosmetic: remove right alignment on driver list

Franck Jullien franck.jullien at gmail.com
Sun Oct 14 07:36:45 EDT 2012


2012/10/14 Franck Jullien <franck.jullien at gmail.com>:
> From: franck <franck at franck-M1110M.(none)>

????

Forget this email, I'll resend this patch (I also forgot to add my signoff).

>
> 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
>



More information about the barebox mailing list