diff options
Diffstat (limited to 'drivers/scsi/ch.c')
-rw-r--r-- | drivers/scsi/ch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index 52060e72b75d..53621a34c5f9 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -206,7 +206,7 @@ ch_do_scsi(scsi_changer *ch, unsigned char *cmd, | |||
206 | DPRINTK("result: 0x%x\n",result); | 206 | DPRINTK("result: 0x%x\n",result); |
207 | if (driver_byte(result) & DRIVER_SENSE) { | 207 | if (driver_byte(result) & DRIVER_SENSE) { |
208 | if (debug) | 208 | if (debug) |
209 | scsi_print_sense_hdr(ch->name, &sshdr); | 209 | scsi_print_sense_hdr(ch->device, ch->name, &sshdr); |
210 | errno = ch_find_errno(&sshdr); | 210 | errno = ch_find_errno(&sshdr); |
211 | 211 | ||
212 | switch(sshdr.sense_key) { | 212 | switch(sshdr.sense_key) { |