diff options
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r-- | drivers/scsi/scsi_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index add190e22c0f..aadf051274fa 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
@@ -283,7 +283,7 @@ int scsi_debug_queuecommand(struct scsi_cmnd * SCpnt, done_funct_t done) | |||
283 | unsigned char *cmd = (unsigned char *) SCpnt->cmnd; | 283 | unsigned char *cmd = (unsigned char *) SCpnt->cmnd; |
284 | int block, upper_blk, num, k; | 284 | int block, upper_blk, num, k; |
285 | int errsts = 0; | 285 | int errsts = 0; |
286 | int target = SCpnt->device->id; | 286 | int target = scmd_id(SCpnt); |
287 | struct sdebug_dev_info * devip = NULL; | 287 | struct sdebug_dev_info * devip = NULL; |
288 | int inj_recovered = 0; | 288 | int inj_recovered = 0; |
289 | 289 | ||