9
0
Fork 0

mtd: Fix size_t printf format specifier

use 0x%08zx for size_t instead of 0x%08x

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-06-21 08:12:54 +02:00
parent a485953521
commit 10357953f3
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static ssize_t mtd_op_read(struct cdev *cdev, void* buf, size_t count,
int ret;
unsigned long offset = _offset;
dev_dbg(cdev->dev, "read ofs: 0x%08lx count: 0x%08x\n",
dev_dbg(cdev->dev, "read ofs: 0x%08lx count: 0x%08zx\n",
offset, count);
ret = mtd_read(mtd, offset, count, &retlen, buf);