summaryrefslogtreecommitdiff
path: root/missing.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing.c')
-rw-r--r--missing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing.c b/missing.c
index ef2651ee94..cccadb494f 100644
--- a/missing.c
+++ b/missing.c
@@ -60,7 +60,7 @@ strdup(str)
tmp = xmalloc(len);
if (tmp == NULL) return NULL;
- bcopy(str, tmp, len);
+ memcpy(tmp, str, len);
return tmp;
}