Skip to content

Commit

Permalink
ide-tape: fix debug call
Browse files Browse the repository at this point in the history
This error only occurs when IDETAPE_DEBUG_LOG is enabled.

Signed-off-by: Mark de Wever <koraq@xs4all.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mark de Wever authored and David S. Miller committed Aug 7, 2009
1 parent 7fa350b commit 37bbe08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
struct ide_cmd cmd;
u8 stat;

debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n"
debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n",
(unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq));

BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq)));
Expand Down

0 comments on commit 37bbe08

Please sign in to comment.