[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>
This commit is contained in:
Randy Dunlap 2006-09-22 10:17:28 +01:00 committed by David Woodhouse
parent f40a6f1cc7
commit 668040fcd1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}