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:
parent
0ccb9aebcd
commit
b6accb5e56
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue