mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] commands: flash: add missing newlines to error messages
Date: Fri, 14 Dec 2012 08:44:01 +0100	[thread overview]
Message-ID: <20121214074401.GN10369@pengutronix.de> (raw)
In-Reply-To: <1355413606-18097-1-git-send-email-w.sang@pengutronix.de>

On Thu, Dec 13, 2012 at 04:46:46PM +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> ---

Applied, thanks

Sascha


>  commands/flash.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/commands/flash.c b/commands/flash.c
> index b1673de..d22d6a0 100644
> --- a/commands/flash.c
> +++ b/commands/flash.c
> @@ -54,7 +54,7 @@ static int do_flerase(int argc, char *argv[])
>  
>  	fd = open(filename, O_WRONLY);
>  	if (fd < 0) {
> -		printf("open %s: %s", filename, errno_str());
> +		printf("open %s: %s\n", filename, errno_str());
>  		return 1;
>  	}
>  
> @@ -125,7 +125,7 @@ static int do_protect(int argc, char *argv[])
>  
>  	fd = open(filename, O_WRONLY);
>  	if (fd < 0) {
> -		printf("open %s: %s", filename, errno_str());
> +		printf("open %s: %s\n", filename, errno_str());
>  		return 1;
>  	}
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> 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-12-14  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 15:46 Wolfram Sang
2012-12-14  7:44 ` Sascha Hauer [this message]

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=20121214074401.GN10369@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=w.sang@pengutronix.de \
    /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