shithub: mc

Download patch

ref: e6b4bd6d4dd978dcff47991f162cd0fd9a4beb37
parent: 3bbb5e43836cd3ea0df46d6adea3dbedd678785f
author: Ori Bernstein <[email protected]>
date: Thu Dec 25 08:50:36 EST 2014

Fix gen9p.c's formatting.

    Had an extra arg.

--- a/6/genp9.c
+++ b/6/genp9.c
@@ -304,7 +304,7 @@
            if (v->lit.strval.len > 0)
                fprintf(fd, "DATA %s+%zd(SB)/8,$%s+0(SB)\n", name, off, lbl);
            else
-               fprintf(fd, "DATA %s+%zd(SB)/8,$0\n", name, off, lbl);
+               fprintf(fd, "DATA %s+%zd(SB)/8,$0\n", name, off);
            fprintf(fd, "DATA %s+%zd(SB)/8,$%zd\n", name, off+8, v->lit.strval.len);
            break;
         case Lfunc: