aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-29 12:24:11 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-29 12:24:11 +0100
commit04bf43f88f1d64f64ac8ccf60f156d01e49669eb (patch)
treeaaf2769f99cf9063c8103a10c6b8c3b86499fd0d
parentf2a8039a2651bd88a6fc39854201cfb77c9f9b17 (diff)
downloaduboxlib-dos-04bf43f88f1d64f64ac8ccf60f156d01e49669eb.tar.gz
uboxlib-dos-04bf43f88f1d64f64ac8ccf60f156d01e49669eb.zip
Fix macro when debug is off
-rw-r--r--include/ubox_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ubox_debug.h b/include/ubox_debug.h
index 686671e..c1dabe9 100644
--- a/include/ubox_debug.h
+++ b/include/ubox_debug.h
@@ -6,7 +6,7 @@
do { fprintf(stderr, "DEBUG:%s:%d: ",__FILE__, __LINE__);\
fprintf(stderr, __VA_ARGS__); } while (0)
#else
-#define UBOX_DEBUG_LOG(fmt, args...) /* release */
+#define UBOX_DEBUG_LOG(...) /* release */
#endif
#endif /* _UBOX_DEBUG_H */