mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Cast address of 'bssid' to uint8_t since printf() expects to get unsigned
argument in %6D case. Submitted by: thompsa Compile-tested: wkoszek Reviewed by: cognet (mentor) Approved by: cognet (mentor)
This commit is contained in:
parent
9977143467
commit
8b249eccbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174270
@ -2404,7 +2404,7 @@ ndis_setstate_80211(sc)
|
||||
else
|
||||
bcopy(ifp->if_broadcastaddr, bssid, len);
|
||||
|
||||
DPRINTF(("Setting BSSID to %6D\n", &bssid, ":"));
|
||||
DPRINTF(("Setting BSSID to %6D\n", (uint8_t *)&bssid, ":"));
|
||||
rval = ndis_set_info(sc, OID_802_11_BSSID, &bssid, &len);
|
||||
if (rval)
|
||||
device_printf(sc->ndis_dev,
|
||||
|
Loading…
Reference in New Issue
Block a user