ide: fix compilation errors when DEBUG_IDE is set

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Hervé Poussineau 2012-02-06 22:19:42 +01:00 committed by Stefan Hajnoczi
parent e965fc3807
commit cb67be85a6
2 changed files with 3 additions and 3 deletions

View file

@ -336,7 +336,7 @@ static uint64_t bmdma_addr_read(void *opaque, target_phys_addr_t addr,
data = (bm->addr >> (addr * 8)) & mask;
#ifdef DEBUG_IDE
printf("%s: 0x%08x\n", __func__, (unsigned)*data);
printf("%s: 0x%08x\n", __func__, (unsigned)data);
#endif
return data;
}