diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-06-27 21:47:11 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-06-27 21:47:11 +0000 |
commit | bc15aa1b80ee98c05c85a9fc344c51c7afa376e8 (patch) | |
tree | 4a721c2927e307a4883484394d504f9ac798a40b /sbin | |
parent | 3b04cdc3ff7ae587663d97378f727afa528c6ac5 (diff) |
knf
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index ebd16e9af3c..788535b1366 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.169 2006/06/27 20:55:51 reyk Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.170 2006/06/27 21:47:10 reyk Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -1582,7 +1582,7 @@ ieee80211_status(void) bzero(&nr, sizeof(nr)); bcopy(bssid.i_bssid, &nr.nr_macaddr, sizeof(nr.nr_macaddr)); - strlcpy(nr.nr_ifname, name, sizeof(nr.nr_ifname)); + strlcpy(nr.nr_ifname, name, sizeof(nr.nr_ifname)); if (ioctl(s, SIOCG80211NODE, &nr) == 0 && nr.nr_rssi) { if (nr.nr_max_rssi) printf("%u%% ", IEEE80211_NODEREQ_RSSI(&nr)); |