From: Andrzej Zaborowski <balrogg@gmail.com>
To: qemu-devel@nongnu.org
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 [thread overview]
Message-ID: <E1KyaOB-0006W9-RG@cvs.savannah.gnu.org> (raw)
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 other threads:[~2008-11-07 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KyaOB-0006W9-RG@cvs.savannah.gnu.org \
--to=balrogg@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).