diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-09 21:57:53 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-09 21:57:53 +0000 |
commit | 989deaf07a7e429edf4ad45c6356bc14f6e4ec95 (patch) | |
tree | cdbf7f4824ec47916eeee31e57b2981f7bda1510 /sys/net/rtsock.c | |
parent | fbf501a1477c4bc97ae0bb8f1ab6afc3f51138aa (diff) |
replace Bcopy macro with memmove and memcpy. ok mpi
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r-- | sys/net/rtsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 0796b67a12e..e46f1c3f259 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.131 2013/11/01 20:09:14 bluhm Exp $ */ +/* $OpenBSD: rtsock.c,v 1.132 2014/01/09 21:57:52 tedu Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -767,7 +767,7 @@ report: error = ENOBUFS; goto flush; } - Bcopy(rtm, new_rtm, rtm->rtm_msglen); + memcpy(new_rtm, rtm, rtm->rtm_msglen); Free(rtm); rtm = new_rtm; } rt_msg2(rtm->rtm_type, RTM_VERSION, &info, (caddr_t)rtm, |