[SCSI] fix warning in scsi_softirq
akpm@osdl.org [Tue, 9 Aug 2005 07:17:03 +0000 (00:17 -0700)]
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>

drivers/scsi/scsi.c

index 4befbc2..a780546 100644 (file)
@@ -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;
                }