Module Name: src
Committed By: jmcneill
Date: Sat Jul 9 21:08:41 UTC 2011
Modified Files:
src/sys/dev/dtv: dtv_buffer.c
Log Message:
use %zu to print size_t
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/dtv/dtv_buffer.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/dtv/dtv_buffer.c
diff -u src/sys/dev/dtv/dtv_buffer.c:1.2 src/sys/dev/dtv/dtv_buffer.c:1.3
--- src/sys/dev/dtv/dtv_buffer.c:1.2 Sat Jul 9 17:55:20 2011
+++ src/sys/dev/dtv/dtv_buffer.c Sat Jul 9 21:08:40 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dtv_buffer.c,v 1.2 2011/07/09 17:55:20 jmcneill Exp $ */
+/* $NetBSD: dtv_buffer.c,v 1.3 2011/07/09 21:08:40 jmcneill Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtv_buffer.c,v 1.2 2011/07/09 17:55:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtv_buffer.c,v 1.3 2011/07/09 21:08:40 jmcneill Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -64,7 +64,7 @@
if (SIMPLEQ_EMPTY(&ds->ds_ingress)) {
aprint_debug_dev(sc->sc_dev,
- "dropping sample (%u)\n", resid);
+ "dropping sample (%zu)\n", resid);
mutex_exit(&ds->ds_lock);
return;
}