aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbeber <beber>2005-12-07 09:47:35 +0000
committerbeber <beber>2005-12-07 09:47:35 +0000
commit246718209353c404bf8dc51787735507c3d4351a (patch)
tree0d78ae466d64a72655cfb9a583a122c10e17bb43 /src
parentAvoid warning (diff)
downloadespik-246718209353c404bf8dc51787735507c3d4351a.tar.xz
update macro, one line shot
Diffstat (limited to 'src')
-rw-r--r--src/espik_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/espik_debug.h b/src/espik_debug.h
index 3bf52ab..06514b4 100644
--- a/src/espik_debug.h
+++ b/src/espik_debug.h
@@ -6,9 +6,9 @@
#ifdef __GNUC__
#define espik_debug_print(fmt, ...) \
{ \
- fprintf (stdout, "%s+%i @%s: '", __FILE__, __LINE__, __func__); \
- fprintf (stdout, fmt, __VA_ARGS__); \
- fprintf (stdout, "'\n"); \
+ fprintf (stdout, "%s+%i @%s: '"fmt"'\n", __FILE__, __LINE__, __func__, ...,); \
+/* fprintf (stdout, fmt, __VA_ARGS__); \
+ fprintf (stdout, "'\n"); \ */
}
#else
#define espik_debug_print(fmt, ...) \