aboutsummaryrefslogtreecommitdiff
path: root/bts.c
diff options
context:
space:
mode:
Diffstat (limited to 'bts.c')
-rw-r--r--bts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bts.c b/bts.c
index 80aad06..8b0cbc4 100644
--- a/bts.c
+++ b/bts.c
@@ -728,6 +728,8 @@ rmb(Mousectl *mc)
n += cell2coords(buf+n, sizeof buf - n, armada[i].p);
buf[n++] = armada[i].orient == OH? 'h': 'v';
}
+ buf[n] = 0;
+
chanprint(egress, "layout %s\n", buf);
layoutdone++;
break;