From 0ab09e313739ebe5a2d9c3c35354422149760383 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 11 Oct 2015 19:00:41 +0000 Subject: tools: firmware-utils: fix compiler warnings This just fixes a lot of compiler warnings. Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47181 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/firmware-utils/src/osbridge-crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/firmware-utils/src/osbridge-crc.c') diff --git a/tools/firmware-utils/src/osbridge-crc.c b/tools/firmware-utils/src/osbridge-crc.c index f2e3920a48..5fd236a074 100644 --- a/tools/firmware-utils/src/osbridge-crc.c +++ b/tools/firmware-utils/src/osbridge-crc.c @@ -51,7 +51,7 @@ static char *ofname; #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) -- cgit v1.2.3