summary refs log tree commit diff
path: root/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'load.c')
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index bb4acbc..31d00bc 100644
--- a/load.c
+++ b/load.c
@@ -151,7 +151,7 @@ load(Slice sl, bits msk, Loc *l)
 			c = curf->ncon++;
 			vgrow(&curf->con, curf->ncon);
 			curf->con[c].type = CAddr;
-			strcpy(curf->con[c].label, a->label);
+			curf->con[c].label = a->label;
 			curf->con[c].bits.i = a->offset;
 			curf->con[c].local = 0;
 			r = CON(c);