Module Name: src
Committed By: ahoka
Date: Tue Jun 28 20:58:00 UTC 2011
Modified Files:
src/sys/dev/flash: flash_io.c
Log Message:
use proper format string
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/flash/flash_io.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/flash/flash_io.c
diff -u src/sys/dev/flash/flash_io.c:1.1 src/sys/dev/flash/flash_io.c:1.2
--- src/sys/dev/flash/flash_io.c:1.1 Tue Jun 28 18:14:11 2011
+++ src/sys/dev/flash/flash_io.c Tue Jun 28 20:58:00 2011
@@ -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,