Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/flash use proper format string



details:   https://anonhg.NetBSD.org/src/rev/35f1c37898fe
branches:  trunk
changeset: 766607:35f1c37898fe
user:      ahoka <ahoka%NetBSD.org@localhost>
date:      Tue Jun 28 20:58:00 2011 +0000

description:
use proper format string

diffstat:

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

diffs (27 lines):

diff -r e4550d0f937a -r 35f1c37898fe sys/dev/flash/flash_io.c
--- a/sys/dev/flash/flash_io.c  Tue Jun 28 20:49:43 2011 +0000
+++ b/sys/dev/flash/flash_io.c  Tue Jun 28 20:58:00 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flash_io.c,v 1.1 2011/06/28 18:14:11 ahoka Exp $       */
+/*     $NetBSD: flash_io.c,v 1.2 2011/06/28 20:58:00 ahoka Exp $       */
 
 /*-
  * Copyright (c) 2011 Department of Software Engineering,
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: flash_io.c,v 1.1 2011/06/28 18:14:11 ahoka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: flash_io.c,v 1.2 2011/06/28 20:58:00 ahoka Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -252,7 +252,7 @@
                goto out;
        }
 
-       FLDPRINTF(("writing %zu bytes to 0x%jx\n",
+       FLDPRINTF(("writing %" PRIu32 " bytes to 0x%jx\n",
                fio->fio_if->erasesize, (uintmax_t )base));
 
        error = fio->fio_if->write(fio->fio_dev,



Home | Main Index | Thread Index | Old Index