summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
commit37851f1670b9022625f90b6c5412acf212618a05 (patch)
tree0aea377b7a98c524752406e41effe9f2e1913580 /parse/node.c
parent6e5b64b5b225a3a491cc07dbb6f300bd4a5994b2 (diff)
downloadmc-37851f1670b9022625f90b6c5412acf212618a05.tar.gz
Fix some generated asm for plan9.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/node.c b/parse/node.c
index 59bfcd2..d4dee5c 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -242,7 +242,7 @@ char *genlblstr(char *buf, size_t sz, char *suffix)
static int nextlbl;
size_t len;
- len = snprintf(buf, 128, ".L%d.%s", nextlbl++, suffix);
+ len = snprintf(buf, 128, ".L%d%s", nextlbl++, suffix);
assert(len <= sz);
return buf;
}