diff mbox

TCG: Fix compile breakage in tcg_dump_ops

Message ID 1340489136-18345-1-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf June 23, 2012, 10:05 p.m. UTC
Commit eeacee4d865 changed the syntax of tcg_dump_ops, but didn't convert
all users (notably missing the ppc ones) to it. Fix them to the new syntax.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 tcg/ppc/tcg-target.c   |    2 +-
 tcg/ppc64/tcg-target.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

malc June 23, 2012, 10:54 p.m. UTC | #1
On Sun, 24 Jun 2012, Alexander Graf wrote:

> Commit eeacee4d865 changed the syntax of tcg_dump_ops, but didn't convert
> all users (notably missing the ppc ones) to it. Fix them to the new syntax.

Applied.

[..snip..]
diff mbox

Patch

diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index d265697..0cff181 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -1865,7 +1865,7 @@  static void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args,
         break;
 
     default:
-        tcg_dump_ops (s, stderr);
+        tcg_dump_ops (s);
         tcg_abort ();
     }
 }
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index c800574..27a0ae8 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -1613,7 +1613,7 @@  static void tcg_out_op (TCGContext *s, TCGOpcode opc, const TCGArg *args,
         break;
 
     default:
-        tcg_dump_ops (s, stderr);
+        tcg_dump_ops (s);
         tcg_abort ();
     }
 }