aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-12 11:50:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-12 11:50:44 +0000
commit6f0540e7eca61fa10344699d023f4a90f705601d (patch)
treea71489f9c5b37b4095d05345f3ac2dc33fb6835b /docs
parent32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502 (diff)
downloadbusybox-6f0540e7eca61fa10344699d023f4a90f705601d.tar.gz
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
Diffstat (limited to 'docs')
-rw-r--r--docs/ipv4_ipv6.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt
index e83db0dbd..92010b59c 100644
--- a/docs/ipv4_ipv6.txt
+++ b/docs/ipv4_ipv6.txt
@@ -166,7 +166,7 @@ Modified IPv6-aware C code:
int error;
/* Get host address. Any type of address will do. */
- bzero(&hints, sizeof(hints));
+ memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_ALL|AI_ADDRCONFIG;
hints.ai_socktype = SOCK_STREAM;