summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2005-08-09 00:17:03 -0700
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-12 12:27:44 -0500
commit6becdff3bcaff1b89c392cf0630dcb5759704492 (patch)
tree7686ea80865e30f79fe0360540e1eb6cd9ac7485 /drivers/scsi/scsi.c
parent3a1c1d446b7cac6ddd8f6b1f3254ccffe87f1751 (diff)
[SCSI] fix warning in scsi_softirq
From: Andrew Morton <akpm@osdl.org> drivers/scsi/scsi.c: In function `scsi_softirq': drivers/scsi/scsi.c:814: warning: int format, long int arg (arg 4) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 4befbc275f94..a780546eda9c 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -811,7 +811,7 @@ static void scsi_softirq(struct softirq_action *h)
if (disposition != SUCCESS &&
time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) {
dev_printk(KERN_ERR, &cmd->device->sdev_gendev,
- "timing out command, waited %ds\n",
+ "timing out command, waited %lus\n",
wait_for/HZ);
disposition = SUCCESS;
}