9
0
Fork 0

cdev: fix printf compiler warnings

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-01-07 10:38:03 +01:00
parent 8527af99a2
commit 2a23cedfe1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static ssize_t ubi_volume_cdev_read(struct cdev *cdev, void *buf, size_t size,
loff_t offp = offset;
int usable_leb_size = vol->usable_leb_size;
printf("%s: %d @ 0x%08x\n", __func__, size, offset);
printf("%s: %d @ 0x%08lx\n", __func__, size, offset);
len = size > usable_leb_size ? usable_leb_size : size;