From: Andreas Färber Date: Thu, 24 Jan 2013 09:51:47 +0000 (+0100) Subject: target-cris: Fix typo in D_LOG() macro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3f668b6c5dc9747d0367837532c3b2ce0520cc17;p=qemu.git target-cris: Fix typo in D_LOG() macro It's __VA_ARGS__. Fixes the build with CRIS_[OP_]HELPER_DEBUG defined. Broken since r6338 / 93fcfe39a0383377e647b821c9f165fd927cd4e0 (Convert references to logfile/loglevel to use qemu_log*() macros). Cc: Eduardo Habkost Signed-off-by: Andreas Färber Signed-off-by: Edgar E. Iglesias --- diff --git a/target-cris/helper.c b/target-cris/helper.c index 8407a6d880..6e75e9819e 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -28,7 +28,7 @@ #ifdef CRIS_HELPER_DEBUG #define D(x) x -#define D_LOG(...) qemu_log(__VA__ARGS__) +#define D_LOG(...) qemu_log(__VA_ARGS__) #else #define D(x) #define D_LOG(...) do { } while (0) diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c index 79bff38663..0f6a1eeb0a 100644 --- a/target-cris/op_helper.c +++ b/target-cris/op_helper.c @@ -28,7 +28,7 @@ #ifdef CRIS_OP_HELPER_DEBUG #define D(x) x -#define D_LOG(...) qemu_log(__VA__ARGS__) +#define D_LOG(...) qemu_log(__VA_ARGS__) #else #define D(x) #define D_LOG(...) do { } while (0)