Skip to content

Commit

Permalink
mtd: cmdlineparts: Use 64-bit format when printing a debug message.
Browse files Browse the repository at this point in the history
Commit 69423d9 ("[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@holoscopio.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and David Woodhouse committed Jun 25, 2009
1 parent 17659c6 commit 342ba10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/cmdlinepart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 342ba10

Please sign in to comment.