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, also add rcsid
details: https://anonhg.NetBSD.org/src/rev/0751b2006891
branches: trunk
changeset: 763404:0751b2006891
user: ahoka <ahoka%NetBSD.org@localhost>
date: Fri Mar 18 16:46:04 2011 +0000
description:
use %zu for size_t, also add rcsid
diffstat:
sys/dev/nand/nand_micron.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r bbaa43f0eb61 -r 0751b2006891 sys/dev/nand/nand_micron.c
--- a/sys/dev/nand/nand_micron.c Fri Mar 18 16:39:58 2011 +0000
+++ b/sys/dev/nand/nand_micron.c Fri Mar 18 16:46:04 2011 +0000
@@ -1,3 +1,4 @@
+/* $NetBSD: nand_micron.c,v 1.3 2011/03/18 16:46:04 ahoka Exp $ */
/*-
* Copyright (c) 2011 Department of Software Engineering,
* University of Szeged, Hungary
@@ -154,7 +155,7 @@
chip->nc_size = MT29FxG_PAGESIZE * MT29FxG_BLOCK_PAGES *
dp->lun_blocks * dp->num_luns;
- aprint_normal_dev(self, "%s %s, size %ldMB\n",
+ aprint_normal_dev(self, "%s %s, size %zuMB\n",
vendor, dp->name, chip->nc_size >> 20);
return 0;
Home |
Main Index |
Thread Index |
Old Index