9
0
Fork 0

commands: flash: add missing newlines to error messages

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Wolfram Sang 2012-12-13 16:46:46 +01:00 committed by Sascha Hauer
parent 0ccb9aebcd
commit b6accb5e56
1 changed files with 2 additions and 2 deletions

View File

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