Patchwork [1/4] Fix coding style

login
register
mail settings
Submitter Fabien Chouteau
Date Oct. 4, 2013, 4:57 p.m.
Message ID <1380905823-3981-2-git-send-email-chouteau@adacore.com>
Download mbox | patch
Permalink /patch/280677/
State New
Headers show

Comments

Fabien Chouteau - Oct. 4, 2013, 4:57 p.m.
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
---
 disas.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Patch

diff --git a/disas.c b/disas.c
index 0203ef2..32407de 100644
--- a/disas.c
+++ b/disas.c
@@ -506,12 +506,13 @@  void monitor_disas(Monitor *mon, CPUArchState *env,
     return;
 #endif
 
-    for(i = 0; i < nb_insn; i++) {
-	monitor_printf(mon, "0x" TARGET_FMT_lx ":  ", pc);
+    for (i = 0; i < nb_insn; i++) {
+        monitor_printf(mon, "0x" TARGET_FMT_lx ":  ", pc);
         count = print_insn(pc, &s.info);
-	monitor_printf(mon, "\n");
-	if (count < 0)
-	    break;
+        monitor_printf(mon, "\n");
+        if (count < 0) {
+            break;
+        }
         pc += count;
     }
 }