* [Qemu-devel] [6251] Fix IDE debug
@ 2009-01-08 20:01 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-01-08 20:01 UTC (permalink / raw)
To: qemu-devel
Revision: 6251
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6251
Author: blueswir1
Date: 2009-01-08 20:01:26 +0000 (Thu, 08 Jan 2009)
Log Message:
-----------
Fix IDE debug
Modified Paths:
--------------
trunk/hw/ide.c
Modified: trunk/hw/ide.c
===================================================================
--- trunk/hw/ide.c 2009-01-08 19:46:33 UTC (rev 6250)
+++ trunk/hw/ide.c 2009-01-08 20:01:26 UTC (rev 6251)
@@ -955,7 +955,7 @@
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 @@
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-08 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-08 20:01 [Qemu-devel] [6251] Fix IDE debug Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).