Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/nand Use %zu for size_t
details: https://anonhg.NetBSD.org/src/rev/96b71b7bc0c0
branches: trunk
changeset: 763054:96b71b7bc0c0
user: martin <martin%NetBSD.org@localhost>
date: Wed Mar 09 12:13:42 2011 +0000
description:
Use %zu for size_t
diffstat:
sys/dev/nand/nand.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 3397157c63c9 -r 96b71b7bc0c0 sys/dev/nand/nand.c
--- a/sys/dev/nand/nand.c Wed Mar 09 11:56:17 2011 +0000
+++ b/sys/dev/nand/nand.c Wed Mar 09 12:13:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nand.c,v 1.3 2011/03/09 10:05:08 ahoka Exp $ */
+/* $NetBSD: nand.c,v 1.4 2011/03/09 12:13:42 martin Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
@@ -34,7 +34,7 @@
/* Common driver for NAND chips implementing the ONFI 2.2 specification */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nand.c,v 1.3 2011/03/09 10:05:08 ahoka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nand.c,v 1.4 2011/03/09 12:13:42 martin Exp $");
#include "locators.h"
@@ -352,11 +352,11 @@
#endif
aprint_normal_dev(self,
- "page size: %u bytes, spare size: %u bytes, block size: %u bytes\n",
+ "page size: %zu bytes, spare size: %zu bytes, block size: %zu bytes\n",
chip->nc_page_size, chip->nc_spare_size, chip->nc_block_size);
aprint_normal_dev(self,
- "LUN size: %u blocks, LUNs: %u, total storage size: %u MB\n",
+ "LUN size: %u blocks, LUNs: %u, total storage size: %zu MB\n",
chip->nc_lun_blocks, chip->nc_num_luns,
chip->nc_size / 1024 / 1024);
Home |
Main Index |
Thread Index |
Old Index