Commit 5df23f531c58c8f9e09b6cedcbdfabd86c9e42db
1 parent
554c97dd
Fix IDE debug
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6251 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
hw/ide.c
... | ... | @@ -955,7 +955,7 @@ static void ide_read_dma_cb(void *opaque, int ret) |
955 | 955 | s->io_buffer_index = 0; |
956 | 956 | s->io_buffer_size = n * 512; |
957 | 957 | #ifdef DEBUG_AIO |
958 | - printf("aio_read: sector_num=%lld n=%d\n", sector_num, n); | |
958 | + printf("aio_read: sector_num=%" PRId64 " n=%d\n", sector_num, n); | |
959 | 959 | #endif |
960 | 960 | bm->aiocb = bdrv_aio_read(s->bs, sector_num, s->io_buffer, n, |
961 | 961 | ide_read_dma_cb, bm); |
... | ... | @@ -1067,7 +1067,7 @@ static void ide_write_dma_cb(void *opaque, int ret) |
1067 | 1067 | if (dma_buf_rw(bm, 0) == 0) |
1068 | 1068 | goto eot; |
1069 | 1069 | #ifdef DEBUG_AIO |
1070 | - printf("aio_write: sector_num=%lld n=%d\n", sector_num, n); | |
1070 | + printf("aio_write: sector_num=%" PRId64 " n=%d\n", sector_num, n); | |
1071 | 1071 | #endif |
1072 | 1072 | bm->aiocb = bdrv_aio_write(s->bs, sector_num, s->io_buffer, n, |
1073 | 1073 | ide_write_dma_cb, bm); | ... | ... |