From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL14L-0001M4-Ks for qemu-devel@nongnu.org; Thu, 08 Jan 2009 15:01:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL14K-0001Lg-Pf for qemu-devel@nongnu.org; Thu, 08 Jan 2009 15:01:28 -0500 Received: from [199.232.76.173] (port=60720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL14K-0001Ld-Ji for qemu-devel@nongnu.org; Thu, 08 Jan 2009 15:01:28 -0500 Received: from savannah.gnu.org ([199.232.41.3]:38641 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LL14K-0001II-4c for qemu-devel@nongnu.org; Thu, 08 Jan 2009 15:01:28 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LL14J-00084J-Ip for qemu-devel@nongnu.org; Thu, 08 Jan 2009 20:01:27 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LL14J-00084F-82 for qemu-devel@nongnu.org; Thu, 08 Jan 2009 20:01:27 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Thu, 08 Jan 2009 20:01:27 +0000 Subject: [Qemu-devel] [6251] Fix IDE debug Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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);