[MTD] blkdev helper code: fix printk format warning
authorRandy Dunlap <[email protected]>
Fri, 22 Sep 2006 09:17:28 +0000 (10:17 +0100)
committerDavid Woodhouse <[email protected]>
Fri, 22 Sep 2006 09:17:28 +0000 (10:17 +0100)
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
drivers/mtd/mtd_blkdevs.c

index 458d3c8ae1eee3904fa34cbd414d44e6a28633b3..302bed5f08452b483813b33393f83755bd3c4c31 100644 (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;
        }
 }