summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/netbsd_getcwd.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1999-09-26 11:15:44 +0000
committerkstailey <kstailey@cvs.openbsd.org>1999-09-26 11:15:44 +0000
commitcded7db74d7b49dff65f3ff262e0a41124062219 (patch)
treed733da1a6b95f761615d899dd27a15466c161797 /sys/compat/netbsd/netbsd_getcwd.c
parent0a4ca32608834d51f9ba07948b864ef2cb1f956c (diff)
s/memcpy/bcopy/
Diffstat (limited to 'sys/compat/netbsd/netbsd_getcwd.c')
-rw-r--r--sys/compat/netbsd/netbsd_getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/netbsd/netbsd_getcwd.c b/sys/compat/netbsd/netbsd_getcwd.c
index 69bb3e88a16..fe9bec0ecf3 100644
--- a/sys/compat/netbsd/netbsd_getcwd.c
+++ b/sys/compat/netbsd/netbsd_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_getcwd.c,v 1.2 1999/09/14 01:05:25 kstailey Exp $ */
+/* $OpenBSD: netbsd_getcwd.c,v 1.3 1999/09/26 11:15:43 kstailey Exp $ */
/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */
/*-
@@ -252,7 +252,7 @@ unionread:
error = ERANGE;
goto out;
}
- memcpy(bp, dp->d_name, dp->d_namlen);
+ bcopy(dp->d_name, bp, dp->d_namlen);
error = 0;
*bpp = bp;
goto out;