[5647] Use the right format string to printf sector num with DEBUG_IDE.
Revision: 5647
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5647 Author: balrog Date: 2008-11-07 23:05:14 +0000 (Fri, 07 Nov 2008)
Log Message:
-----------
Use the right format string to printf sector num with DEBUG_IDE.
Modified Paths:
--------------
trunk/hw/ide.c
Modified: trunk/hw/ide.c
===================================================================
hw/ide.c +2 -2
@@ -844,7 +844,7 @@ide_transfer_stop (s); }else {#if defined(DEBUG_IDE ) -printf ("read sector=%Ld\n" , sector_num); +printf ("read sector=%" PRId64"\n" , sector_num);#endif if (n > s->req_nb_sectors) n = s->req_nb_sectors;
@@ -987,7 +987,7 @@ s->status =READY_STAT |SEEK_STAT ; sector_num =ide_get_sector (s);#if defined(DEBUG_IDE ) -printf ("write sector=%Ld\n" , sector_num); +printf ("write sector=%" PRId64"\n" , sector_num);#endif n = s->nsector;if (n > s->req_nb_sectors)