summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-09-22 10:17:28 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-22 10:17:28 +0100
commit668040fcd1e06fc3e68a92708cbdfa5a52c37d3c (patch)
tree5caced088dbe000e938fc4848b632994c6563443 /drivers/mtd
parentf40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef (diff)
[MTD] blkdev helper code: fix printk format warning
Fix printk format warning(s): drivers/mtd/mtd_blkdevs.c:72: warning: long int format, different type arg (arg 2) Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtd_blkdevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c
index 458d3c8ae1e..302bed5f084 100644
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -69,7 +69,7 @@ static int do_blktrans_request(struct mtd_blktrans_ops *tr,
return 1;
default:
- printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req));
+ printk(KERN_NOTICE "Unknown request %d\n", rq_data_dir(req));
return 0;
}
}