Patchwork [2/3] Fix __VA__ARGS__ typo in cris mmu.c

login
register
mail settings
Submitter Riccardo Magliocchetti
Date May 19, 2010, 4:49 p.m.
Message ID <56a1cadc86e4523f62f3d4a84cc3c26d8cf21527.1274281724.git.riccardo.magliocchetti@gmail.com>
Download mbox | patch
Permalink /patch/53000/
State New
Headers show

Comments

Riccardo Magliocchetti - May 19, 2010, 4:49 p.m.
Fix compilation with DEBUG defined

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
---
 target-cris/mmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Edgar Iglesias - May 19, 2010, 5:38 p.m.
On Wed, May 19, 2010 at 06:49:29PM +0200, Riccardo Magliocchetti wrote:
> Fix compilation with DEBUG defined
> 
> Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>


Thanks, applied.

Cheers


> ---
>  target-cris/mmu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/target-cris/mmu.c b/target-cris/mmu.c
> index 2a5ded8..d09e921 100644
> --- a/target-cris/mmu.c
> +++ b/target-cris/mmu.c
> @@ -31,7 +31,7 @@
>  
>  #ifdef 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)
> -- 
> 1.7.1
>

Patch

diff --git a/target-cris/mmu.c b/target-cris/mmu.c
index 2a5ded8..d09e921 100644
--- a/target-cris/mmu.c
+++ b/target-cris/mmu.c
@@ -31,7 +31,7 @@ 
 
 #ifdef 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)