Skip to contentSkip to conversation

mgmt: fix DBG string format

PATCH Applied Frédéric Danis 2 participants 2 messages May 17, 2011 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mgmt: fix DBG string format

---
 plugins/mgmtops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
plugins/mgmtops.c +1 -1
index 5e89046..95de3d1 100644
@@ -501,7 +501,7 @@ static int mgmt_pincode_reply(int index, bdaddr_t *bdaddr, const char *pin,
 	char addr[18];
 
 	ba2str(bdaddr, addr);
-	DBG("index %d addr %s pinlen %lu", index, addr, pin_len);
+	DBG("index %d addr %s pinlen %zu", index, addr, pin_len);
 
 	memset(buf, 0, sizeof(buf));
 
Signature · 1 line
1.7.1
#1 lore raw

Hi Frédéric,

Quoted 3 lines · Frédéric Danis
---
 plugins/mgmtops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied. Thanks.

Johan