summaryrefslogtreecommitdiff
path: root/tools/firmware-utils/src/mktplinkfw2.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-10-11 19:00:41 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-10-11 19:00:41 +0000
commit3d1a65adb41db2758827fe81f36d92ab61618ea3 (patch)
tree6915980ec09edb4801a9e33e7bacd80cd160fe27 /tools/firmware-utils/src/mktplinkfw2.c
parentf457ae99f20bed2f8482ca9f9f1e4e7ac2701d40 (diff)
downloadmtk-20170518-3d1a65adb41db2758827fe81f36d92ab61618ea3.zip
mtk-20170518-3d1a65adb41db2758827fe81f36d92ab61618ea3.tar.gz
mtk-20170518-3d1a65adb41db2758827fe81f36d92ab61618ea3.tar.bz2
tools: firmware-utils: fix compiler warnings
This just fixes a lot of compiler warnings. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47181
Diffstat (limited to 'tools/firmware-utils/src/mktplinkfw2.c')
-rw-r--r--tools/firmware-utils/src/mktplinkfw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/mktplinkfw2.c
index 25915e6..9277529 100644
--- a/tools/firmware-utils/src/mktplinkfw2.c
+++ b/tools/firmware-utils/src/mktplinkfw2.c
@@ -189,7 +189,7 @@ static struct board_info boards[] = {
#define ERRS(fmt, ...) do { \
int save = errno; \
fflush(0); \
- fprintf(stderr, "[%s] *** error: " fmt "\n", \
+ fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \
progname, ## __VA_ARGS__, strerror(save)); \
} while (0)