diff options
Diffstat (limited to 'commands/flash.c')
-rw-r--r-- | commands/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/flash.c b/commands/flash.c index 9a0eb50371..a3f3508f2f 100644 --- a/commands/flash.c +++ b/commands/flash.c @@ -63,7 +63,7 @@ static int do_flerase(struct command *cmdtp, int argc, char *argv[]) fd = open(filename, O_WRONLY); if (fd < 0) { - printf("open %s:", filename, errno_str()); + printf("open %s: %s", filename, errno_str()); return 1; } @@ -139,7 +139,7 @@ static int do_protect(struct command *cmdtp, int argc, char *argv[]) fd = open(filename, O_WRONLY); if (fd < 0) { - printf("open %s:", filename, errno_str()); + printf("open %s: %s", filename, errno_str()); return 1; } |