Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dtv use %zu to print size_t



details:   https://anonhg.NetBSD.org/src/rev/70f07504e6b3
branches:  trunk
changeset: 767146:70f07504e6b3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jul 09 21:08:40 2011 +0000

description:
use %zu to print size_t

diffstat:

 sys/dev/dtv/dtv_buffer.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2bd480f07e82 -r 70f07504e6b3 sys/dev/dtv/dtv_buffer.c
--- a/sys/dev/dtv/dtv_buffer.c  Sat Jul 09 19:24:13 2011 +0000
+++ b/sys/dev/dtv/dtv_buffer.c  Sat Jul 09 21:08:40 2011 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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;
                }



Home | Main Index | Thread Index | Old Index