git: ifconfig(8): Replace bzero()/bcopy() with memset()/memcpy()
Aaron LI
aly at crater.dragonflybsd.org
Thu Dec 21 00:54:11 PST 2023
commit 0989c651fdc5dd328ce52881604350b1bd44978a
Author: Aaron LI <aly at aaronly.me>
Date: Wed Dec 13 09:10:56 2023 +0800
ifconfig(8): Replace bzero()/bcopy() with memset()/memcpy()
The latter is also more frequently used in this code.
Summary of changes:
sbin/ifconfig/af_inet.c | 4 ++--
sbin/ifconfig/af_inet6.c | 4 ++--
sbin/ifconfig/af_link.c | 2 +-
sbin/ifconfig/ifconfig.c | 7 ++++---
sbin/ifconfig/ifieee80211.c | 22 +++++++++++-----------
sbin/ifconfig/iflagg.c | 10 +++++-----
sbin/ifconfig/ifvlan.c | 6 +++---
7 files changed, 28 insertions(+), 27 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0989c651fdc5dd328ce52881604350b1bd44978a
--
DragonFly BSD source repository
More information about the Commits
mailing list