summary refs log tree commit diff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ee8030f..dbba264 100644
--- a/util.c
+++ b/util.c
@@ -215,7 +215,7 @@ newtmp(char *prfx, int k,  Fn *fn)
 	t = fn->ntmp++;
 	vgrow(&fn->tmp, fn->ntmp);
 	if (prfx)
-		sprintf(fn->tmp[t].name, "%s%d", prfx, ++n);
+		sprintf(fn->tmp[t].name, "%s.%d", prfx, ++n);
 	fn->tmp[t].cls = k;
 	fn->tmp[t].slot = -1;
 	fn->tmp[t].nuse = +1;