tree-wide: use our memset() macros instead of memset() itself

This commit is contained in:
Lennart Poettering
2014-12-11 16:58:45 +01:00
parent f7340ab269
commit eccaf89933
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ int sd_icmp6_nd_set_mac(sd_icmp6_nd *nd, const struct ether_addr *mac_addr) {
if (mac_addr)
memcpy(&nd->mac_addr, mac_addr, sizeof(nd->mac_addr));
else
memset(&nd->mac_addr, 0x00, sizeof(nd->mac_addr));
zero(nd->mac_addr);
return 0;