about summary refs log tree commit diff
path: root/resolv/mapv4v6addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/mapv4v6addr.h')
-rw-r--r--resolv/mapv4v6addr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/mapv4v6addr.h b/resolv/mapv4v6addr.h
index 4295398f45..a638393255 100644
--- a/resolv/mapv4v6addr.h
+++ b/resolv/mapv4v6addr.h
@@ -64,12 +64,12 @@ map_v4v6_address (const char *src, char *dst)
   int i;
 
   /* Stash a temporary copy so our caller can update in place. */
-  bcopy (src, tmp, INADDRSZ);
+  memcpy (tmp, src, INADDRSZ);
   /* Mark this ipv6 addr as a mapped ipv4. */
   for (i = 0; i < 10; i++)
     *p++ = 0x00;
   *p++ = 0xff;
   *p++ = 0xff;
   /* Retrieve the saved copy and we're done. */
-  bcopy (tmp, (void *) p, INADDRSZ);
+  memcpy ((void *) p, tmp, INADDRSZ);
 }