diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-08-27 10:24:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-27 20:01:33 +0200 |
commit | 9c275a8391d96b49fa135d1e4073d4798b7c6445 (patch) | |
tree | 25eb3beacd3241ed8c9c100d637c1d0d7c93bb7b /drivers/cdrom/gscd.c | |
parent | [PATCH] x86: NUMAQ Kconfig fix (diff) | |
download | linux-9c275a8391d96b49fa135d1e4073d4798b7c6445.tar.xz linux-9c275a8391d96b49fa135d1e4073d4798b7c6445.zip |
[PATCH] cdrom/gdsc: fix printk format warning
Fix printk format warning:
drivers/cdrom/gscd.c:269: warning: format â%luâ expects type âlong unsigned intâ, but argument 2 has type âunsigned intâ
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/cdrom/gscd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/gscd.c b/drivers/cdrom/gscd.c index b6ee50a2916d..fa7082489765 100644 --- a/drivers/cdrom/gscd.c +++ b/drivers/cdrom/gscd.c @@ -266,7 +266,7 @@ repeat: goto out; if (req->cmd != READ) { - printk("GSCD: bad cmd %lu\n", rq_data_dir(req)); + printk("GSCD: bad cmd %u\n", rq_data_dir(req)); end_request(req, 0); goto repeat; } |