qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5647] Use the right format string to printf sector num wit


From: Andrzej Zaborowski
Subject: [Qemu-devel] [5647] Use the right format string to printf sector num with DEBUG_IDE.
Date: Fri, 07 Nov 2008 23:05:15 +0000

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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]