diff options
| author | Michael Brown | 2006-05-21 18:04:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-05-21 18:04:41 +0200 |
| commit | 95956443e1b8bf03845a6b4723b1921447769e1d (patch) | |
| tree | 166e77c6283e37f5d3dd7d328b6c2770bc9d50d6 /src/drivers/block | |
| parent | Made the LBA48 example clearer. (diff) | |
| download | ipxe-95956443e1b8bf03845a6b4723b1921447769e1d.tar.gz ipxe-95956443e1b8bf03845a6b4723b1921447769e1d.tar.xz ipxe-95956443e1b8bf03845a6b4723b1921447769e1d.zip | |
Fixed debug code
Diffstat (limited to 'src/drivers/block')
| -rw-r--r-- | src/drivers/block/ata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/block/ata.c b/src/drivers/block/ata.c index 0e4c7792..8bd88fe4 100644 --- a/src/drivers/block/ata.c +++ b/src/drivers/block/ata.c @@ -43,9 +43,9 @@ block_to_ata ( struct block_device *blockdev ) { static inline __attribute__ (( always_inline )) int ata_command ( struct ata_device *ata, struct ata_command *command ) { DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n", - command.cb.cmd_stat, command.cb.device, command.cb.flags, - ( unsigned long long ) command.cb.lba.native, - command.cb.count.native ); + command->cb.cmd_stat, command->cb.device, command->cb.flags, + ( unsigned long long ) command->cb.lba.native, + command->cb.count.native ); return ata->command ( ata, command ); } |
