tools: firmware-utils: fix compiler warnings
[openwrt.git] / tools / firmware-utils / src / mktplinkfw.c
index 1302d46..96fd6a0 100644 (file)
@@ -450,7 +450,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)