]> git.baikalelectronics.ru Git - kernel.git/commitdiff
[SCSI] fix warning in scsi_softirq
authorakpm@osdl.org <akpm@osdl.org>
Tue, 9 Aug 2005 07:17:03 +0000 (00:17 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 12 Aug 2005 17:27:44 +0000 (12:27 -0500)
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 4befbc275f945f2426242d02ea063dc9a822e9b3..a780546eda9ca5510d23dcdfea5fe1c4fd692cc2 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;
                }