Module Name: src
Committed By: kefren
Date: Sun May 3 07:24:55 UTC 2009
Modified Files:
src/usr.sbin/btpand: bnep.c
Log Message:
Fix formatting for printing size_t
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/btpand/bnep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/btpand/bnep.c
diff -u src/usr.sbin/btpand/bnep.c:1.5 src/usr.sbin/btpand/bnep.c:1.6
--- src/usr.sbin/btpand/bnep.c:1.5 Sat May 2 20:13:44 2009
+++ src/usr.sbin/btpand/bnep.c Sun May 3 07:24:55 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: bnep.c,v 1.5 2009/05/02 20:13:44 plunky Exp $ */
+/* $NetBSD: bnep.c,v 1.6 2009/05/03 07:24:55 kefren Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bnep.c,v 1.5 2009/05/02 20:13:44 plunky Exp $");
+__RCSID("$NetBSD: bnep.c,v 1.6 2009/05/03 07:24:55 kefren Exp $");
#include <bluetooth.h>
#include <sdp.h>
@@ -170,7 +170,7 @@
if (pkt->len > ETHER_MAX_LEN)
log_debug("received long packet "
- "(type=0x%2.2x, proto=0x%4.4x, len=%d)",
+ "(type=0x%2.2x, proto=0x%4.4x, len=%zu)",
type, be16dec(pkt->type), pkt->len);
return true;