summaryrefslogtreecommitdiff
path: root/ubi-utils/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/error.h')
-rw-r--r--ubi-utils/src/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/error.h b/ubi-utils/src/error.h
index e8d7137..05d8078 100644
--- a/ubi-utils/src/error.h
+++ b/ubi-utils/src/error.h
@@ -78,7 +78,7 @@ void info_msg(const char *fmt, ...);
__err_msg(fmt, ##__VA_ARGS__); \
} while (0)
#else
-#define dbg_msg(fmt, ...)
+#define dbg_msg(fmt, ...) do {} while (0)
#endif
#endif /* __ERROR_H__ */