Skip to content

Commit

Permalink
target-cris: Fix typo in D_LOG() macro
Browse files Browse the repository at this point in the history
It's __VA_ARGS__. Fixes the build with CRIS_[OP_]HELPER_DEBUG defined.

Broken since r6338 / 93fcfe3 (Convert
references to logfile/loglevel to use qemu_log*() macros).

Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
  • Loading branch information
afaerber authored and edgarigl committed Jan 24, 2013
1 parent 9fc7577 commit 3f668b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion target-cris/helper.c
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion target-cris/op_helper.c
Expand Up @@ -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)
Expand Down

0 comments on commit 3f668b6

Please sign in to comment.