slstatus

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.beauhilton.com/slstatus.git
Log | Files | Refs | README | LICENSE

commit ca8a146f03622149fbf9378e72b6ca02f25c5e55
parent 7ab183c97f2de4eee3fa47a4c060740d45835541
Author: Aaron Marcher <me@drkhsh.at>
Date:   Thu, 17 May 2018 18:08:31 +0200

wifi: Change memmove to memcpy on OpenBSD

Diffstat:
Mcomponents/wifi.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/wifi.c b/components/wifi.c @@ -122,7 +122,7 @@ return 0; } strlcpy(nr->nr_ifname, iface, sizeof(nr->nr_ifname)); - memmove(&nr->nr_macaddr, bssid.i_bssid, sizeof(nr->nr_macaddr)); + memcpy(&nr->nr_macaddr, bssid.i_bssid, sizeof(nr->nr_macaddr)); if ((ioctl(sockfd, SIOCG80211NODE, nr)) < 0 && nr->nr_rssi) { fprintf(stderr, "ioctl 'SIOCG80211NODE': %s\n", strerror(errno));