[PATCH] Fix compile problem when sata debugging is on
authorKeith Owens <kaos@ocs.com.au>
Tue, 8 Aug 2006 03:51:02 +0000 (13:51 +1000)
committerJeff Garzik <jeff@garzik.org>
Wed, 9 Aug 2006 05:16:27 +0000 (01:16 -0400)
Fix a sata debug print statement that still uses an old variable name.

Signed-off-by: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/ata_piix.c

index 298e464..5e8afc8 100644 (file)
@@ -567,8 +567,8 @@ static int piix_sata_prereset(struct ata_port *ap)
                        present = 1;
        }
 
-       DPRINTK("ata%u: LEAVE, pcs=0x%x present_mask=0x%x\n",
-               ap->id, pcs, present_mask);
+       DPRINTK("ata%u: LEAVE, pcs=0x%x present=0x%x\n",
+               ap->id, pcs, present);
 
        if (!present) {
                ata_port_printk(ap, KERN_INFO, "SATA port has no device.\n");