mirror of https://github.com/ipxe/ipxe.git
Fixed debug code
parent
9dfb9d84b4
commit
95956443e1
|
@ -43,9 +43,9 @@ block_to_ata ( struct block_device *blockdev ) {
|
||||||
static inline __attribute__ (( always_inline )) int
|
static inline __attribute__ (( always_inline )) int
|
||||||
ata_command ( struct ata_device *ata, struct ata_command *command ) {
|
ata_command ( struct ata_device *ata, struct ata_command *command ) {
|
||||||
DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
|
DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
|
||||||
command.cb.cmd_stat, command.cb.device, command.cb.flags,
|
command->cb.cmd_stat, command->cb.device, command->cb.flags,
|
||||||
( unsigned long long ) command.cb.lba.native,
|
( unsigned long long ) command->cb.lba.native,
|
||||||
command.cb.count.native );
|
command->cb.count.native );
|
||||||
|
|
||||||
return ata->command ( ata, command );
|
return ata->command ( ata, command );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue