mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Franck Jullien <franck.jullien@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] cosmetic: remove right alignment on driver list
Date: Tue, 16 Oct 2012 23:48:41 +0200	[thread overview]
Message-ID: <20121016214841.GK27665@pengutronix.de> (raw)
In-Reply-To: <1350417491-27030-1-git-send-email-franck.jullien@gmail.com>

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

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

  reply	other threads:[~2012-10-16 21:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16 19:58 Franck Jullien
2012-10-16 21:48 ` Sascha Hauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-14 11:34 Franck Jullien
2012-10-14 11:36 ` Franck Jullien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121016214841.GK27665@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=franck.jullien@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox