aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2004-04-18 11:46:29 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2004-04-18 11:46:29 +0000
commit1838a6471f481b91cc516293ebf3538dd9d88e70 (patch)
tree421061e47fca5ceed7ae61c7a9f354fa11b5af15 /sys
parentac912b2dc8720f6c3f73854a050c69fbfe94d35a (diff)
downloadsrc-1838a6471f481b91cc516293ebf3538dd9d88e70.tar.gz
src-1838a6471f481b91cc516293ebf3538dd9d88e70.zip
replace Bcopy with bcopy as in the rest of the file.
Notes
Notes: svn path=/head/; revision=128399
Diffstat (limited to 'sys')
-rw-r--r--sys/net/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 1ddef89d67ef..b8f000d61e6c 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -755,7 +755,7 @@ rtrequest1(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt)
if (netmask) {
rt_maskedcopy(dst, ndst, netmask);
} else
- Bcopy(dst, ndst, dst->sa_len);
+ bcopy(dst, ndst, dst->sa_len);
/*
* Note that we now have a reference to the ifa.
@@ -1052,14 +1052,14 @@ rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate)
/*
* copy the new gateway value into the memory chunk
*/
- Bcopy(gate, (rt->rt_gateway = (struct sockaddr *)(new + dlen)), glen);
+ bcopy(gate, (rt->rt_gateway = (struct sockaddr *)(new + dlen)), glen);
/*
* if we are replacing the chunk (or it's new) we need to
* replace the dst as well
*/
if (old) {
- Bcopy(dst, new, dlen);
+ bcopy(dst, new, dlen);
Free(old);
old = 0;
}