mtd: cmdlineparts: Use 64-bit format when printing a debug message.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jun 25 03:59:02 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=342ba1039ad7cf464c7927ddf1ddc10d48a3716b
Commit:     342ba1039ad7cf464c7927ddf1ddc10d48a3716b
Parent:     17659c60629618c0aa67eb3cb6a77d2c52486d2e
Author:     Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
AuthorDate: Wed Jun 24 18:39:09 2009 -0300
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Jun 25 08:18:12 2009 +0100

    mtd: cmdlineparts: Use 64-bit format when printing a debug message.
    
    Commit 69423d99fc182a81f3c5db3eb5c140acc6fc64be ("[MTD] update internal
    API to support 64-bit device size") has changed some structure values
    to 64-bit and has not updated this debug message, since it's not built
    by default.
    
    Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/cmdlinepart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 5011fa7..1479da6 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -194,7 +194,7 @@ static struct mtd_partition * newpart(char *s,
 	parts[this_part].name = extra_mem;
 	extra_mem += name_len + 1;
 
-	dbg(("partition %d: name <%s>, offset %x, size %x, mask flags %x\n",
+	dbg(("partition %d: name <%s>, offset %llx, size %llx, mask flags %x\n",
 	     this_part,
 	     parts[this_part].name,
 	     parts[this_part].offset,



More information about the linux-mtd-cvs mailing list