mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: flash: add missing newlines to error messages
@ 2012-12-13 15:46 Wolfram Sang
  2012-12-14  7:44 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2012-12-13 15:46 UTC (permalink / raw)
  To: barebox; +Cc: Wolfram Sang

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] commands: flash: add missing newlines to error messages
  2012-12-13 15:46 [PATCH] commands: flash: add missing newlines to error messages Wolfram Sang
@ 2012-12-14  7:44 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-12-14  7:44 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-14  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-13 15:46 [PATCH] commands: flash: add missing newlines to error messages Wolfram Sang
2012-12-14  7:44 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox