summaryrefslogtreecommitdiffstats
path: root/byterun/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/alloc.c')
-rw-r--r--byterun/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/alloc.c b/byterun/alloc.c
index eb75fef16..603c519ef 100644
--- a/byterun/alloc.c
+++ b/byterun/alloc.c
@@ -95,7 +95,7 @@ value copy_string(char *s)
len = strlen(s);
res = alloc_string(len);
- bcopy(s, String_val(res), len);
+ memmove(String_val(res), s, len);
return res;
}