diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2010-12-21 00:02:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-21 09:02:40 +0100 |
commit | d66ae58cd87c78b76652ecf750371b1e005d44de (patch) | |
tree | 90e82954c07e8e412f7c72d402c64b5de2f182f4 /commands/flash.c | |
parent | b754bc4cf0f2687411e9dde3a2115a9c5b8da79a (diff) | |
download | barebox-d66ae58cd87c78b76652ecf750371b1e005d44de.tar.gz barebox-d66ae58cd87c78b76652ecf750371b1e005d44de.tar.xz |
Cosmetic fixes, including format attributes for printf() and friends.
Signed-off-by: Krzysztof HaĆasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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; } |