From b6accb5e560c3b39e738fad619a140f6247d27c6 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Thu, 13 Dec 2012 16:46:46 +0100 Subject: [PATCH] commands: flash: add missing newlines to error messages Signed-off-by: Wolfram Sang Signed-off-by: Sascha Hauer --- commands/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/flash.c b/commands/flash.c index b1673de61..d22d6a087 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; }