瀏覽代碼

Fixed debug code

tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
95956443e1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/drivers/block/ata.c

+ 3
- 3
src/drivers/block/ata.c 查看文件

@@ -43,9 +43,9 @@ block_to_ata ( struct block_device *blockdev ) {
43 43
 static inline __attribute__ (( always_inline )) int
44 44
 ata_command ( struct ata_device *ata, struct ata_command *command ) {
45 45
 	DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
46
-	      command.cb.cmd_stat, command.cb.device, command.cb.flags,
47
-	      ( unsigned long long ) command.cb.lba.native,
48
-	      command.cb.count.native );
46
+	      command->cb.cmd_stat, command->cb.device, command->cb.flags,
47
+	      ( unsigned long long ) command->cb.lba.native,
48
+	      command->cb.count.native );
49 49
 
50 50
 	return ata->command ( ata, command );	
51 51
 }

Loading…
取消
儲存