summaryrefslogtreecommitdiff
path: root/apps/system/inifile/inifile.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/inifile/inifile.c')
-rw-r--r--apps/system/inifile/inifile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/system/inifile/inifile.c b/apps/system/inifile/inifile.c
index 9f196e558..d82c4f127 100644
--- a/apps/system/inifile/inifile.c
+++ b/apps/system/inifile/inifile.c
@@ -62,15 +62,15 @@
#ifdef CONFIG_CPP_HAVE_VARARGS
# if CONFIG_SYSTEM_INIFILE_DEBUGLEVEL > 0
-# define inidbg(format, arg...) \
- printf(EXTRA_FMT format EXTRA_ARG, ##arg)
+# define inidbg(format, ...) \
+ printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
# else
# define inidbg(x...)
# endif
# if CONFIG_SYSTEM_INIFILE_DEBUGLEVEL > 1
-# define inivdbg(format, arg...) \
- printf(EXTRA_FMT format EXTRA_ARG, ##arg)
+# define inivdbg(format, ...) \
+ printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
# else
# define inivdbg(x...)
# endif