* [Qemu-devel] [5647] Use the right format string to printf sector num with DEBUG_IDE.
@ 2008-11-07 23:05 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-11-07 23:05 UTC (permalink / raw)
To: qemu-devel
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
===================================================================
--- trunk/hw/ide.c 2008-11-07 16:55:48 UTC (rev 5646)
+++ trunk/hw/ide.c 2008-11-07 23:05:14 UTC (rev 5647)
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-07 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-07 23:05 [Qemu-devel] [5647] Use the right format string to printf sector num with DEBUG_IDE Andrzej Zaborowski
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).