tools: firmware-utils: fix compiler warnings
[openwrt/staging/chunkeey.git] / tools / firmware-utils / src / pc1crypt.c
index 9c2eb83f666161887691385b45d990bf8f1ad786..fe41b3dab5c0c70e55bf6327d55d12f9be8a55ec 100644 (file)
@@ -208,7 +208,7 @@ static int decrypt;
 #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)