Commit 8648de47 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] STRAM printf() format

STRAM: kill warning because of incorrect printf()-style format
parent 550dcbdb
......@@ -984,7 +984,7 @@ static void do_stram_request(request_queue_t *q)
unsigned long len = req->current_nr_sectors << 9;
if ((start + len) > swap_end) {
printk( KERN_ERR "stram: bad access beyond end of device: "
"block=%ld, count=%ld\n",
"block=%ld, count=%d\n",
req->sector,
req->current_nr_sectors );
end_request(req, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment