From 8b249eccbc61f1ecbfd8029ffe7dc61e0db40107 Mon Sep 17 00:00:00 2001 From: "Wojciech A. Koszek" Date: Tue, 4 Dec 2007 20:48:32 +0000 Subject: [PATCH] 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) --- sys/dev/if_ndis/if_ndis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index 2ff232a21c87..4752793e49b0 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -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,