b43-dasm: Add a space char after comma to improve asm code readability.
authorMichael Buesch <mb@bu3sch.de>
Sat, 26 Jan 2008 14:26:59 +0000 (15:26 +0100)
committerMichael Buesch <mb@bu3sch.de>
Sat, 26 Jan 2008 14:26:59 +0000 (15:26 +0100)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
disassembler/main.c

index 7fc8536384ec27c54259a02a9ac09532902b69b8..8e6415ed875ee8ca98b9068f9786bf5aff772f14 100644 (file)
@@ -643,7 +643,7 @@ static void emit_asm(struct disassembler_context *ctx)
                        first = 1;
                        for (i = 0; i < ARRAY_SIZE(stmt->u.insn.operands); i++) {
                                if (stmt->u.insn.is_labelref == i) {
-                                       fprintf(outfile, ",%s",
+                                       fprintf(outfile, ", %s",
                                                stmt->u.insn.labelref->u.label.name);
                                }
                                if (!stmt->u.insn.operands[i])
@@ -651,7 +651,7 @@ static void emit_asm(struct disassembler_context *ctx)
                                if (first)
                                        fprintf(outfile, "\t");
                                if (!first)
-                                       fprintf(outfile, ",");
+                                       fprintf(outfile, ", ");
                                first = 0;
                                fprintf(outfile, "%s",
                                        stmt->u.insn.operands[i]);