summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 20:01:26 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 20:01:26 +0000
commit5df23f531c58c8f9e09b6cedcbdfabd86c9e42db (patch)
treec5f83b12060196103dec641b97ced92174107ca4 /hw
parent554c97dd43e021b626c78ed5bd72bca33d5cb99c (diff)
downloadhqemu-5df23f531c58c8f9e09b6cedcbdfabd86c9e42db.zip
hqemu-5df23f531c58c8f9e09b6cedcbdfabd86c9e42db.tar.gz
Fix IDE debug
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6251 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 64e7d75..7a897c0 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -955,7 +955,7 @@ static void ide_read_dma_cb(void *opaque, int ret)
s->io_buffer_index = 0;
s->io_buffer_size = n * 512;
#ifdef DEBUG_AIO
- printf("aio_read: sector_num=%lld n=%d\n", sector_num, n);
+ printf("aio_read: sector_num=%" PRId64 " n=%d\n", sector_num, n);
#endif
bm->aiocb = bdrv_aio_read(s->bs, sector_num, s->io_buffer, n,
ide_read_dma_cb, bm);
@@ -1067,7 +1067,7 @@ static void ide_write_dma_cb(void *opaque, int ret)
if (dma_buf_rw(bm, 0) == 0)
goto eot;
#ifdef DEBUG_AIO
- printf("aio_write: sector_num=%lld n=%d\n", sector_num, n);
+ printf("aio_write: sector_num=%" PRId64 " n=%d\n", sector_num, n);
#endif
bm->aiocb = bdrv_aio_write(s->bs, sector_num, s->io_buffer, n,
ide_write_dma_cb, bm);
OpenPOWER on IntegriCloud