summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Owens <kaos@ocs.com.au>2006-08-08 13:51:02 +1000
committerJeff Garzik <jeff@garzik.org>2006-08-09 01:16:27 -0400
commit85455dd34219376dcc7dce94bea67058f0b7d731 (patch)
treedc81f6f2fa31fef75fec99096c52c6213302ade2
parentc71d6be54e92c4b2d31faf51850354aff22b82b0 (diff)
downloadlinux-85455dd34219376dcc7dce94bea67058f0b7d731.tar.bz2
[PATCH] Fix compile problem when sata debugging is on
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>
-rw-r--r--drivers/scsi/ata_piix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index 298e4643b969..5e8afc876980 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -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");