Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use %zu for size_t



details:   https://anonhg.NetBSD.org/src/rev/92453bc4d956
branches:  trunk
changeset: 327156:92453bc4d956
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:55:23 2014 +0000

description:
Use %zu for size_t

diffstat:

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

diffs (27 lines):

diff -r 26f6a2bdecca -r 92453bc4d956 sys/dev/pci/tdvfb.c
--- a/sys/dev/pci/tdvfb.c       Fri Feb 28 05:52:56 2014 +0000
+++ b/sys/dev/pci/tdvfb.c       Fri Feb 28 05:55:23 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tdvfb.c,v 1.7 2013/11/10 03:44:03 mrg Exp $    */
+/*     $NetBSD: tdvfb.c,v 1.8 2014/02/28 05:55:23 matt Exp $   */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.   
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tdvfb.c,v 1.7 2013/11/10 03:44:03 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tdvfb.c,v 1.8 2014/02/28 05:55:23 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -211,7 +211,7 @@
         */
        sc->sc_memsize = tdvfb_mem_size(sc);
 
-       aprint_normal_dev(sc->sc_dev, "%d MB framebuffer memory present\n", 
+       aprint_normal_dev(sc->sc_dev, "%zu MB framebuffer memory present\n", 
            sc->sc_memsize / 1024 / 1024);
 
        /* Select video mode, 800x600 32bpp 60Hz by default... */



Home | Main Index | Thread Index | Old Index