[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vmdk: Fix %d and %lld to PRI* in format strings
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] vmdk: Fix %d and %lld to PRI* in format strings |
Date: |
Thu, 17 Apr 2014 10:28:17 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 17.04.2014 um 05:34 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> block/vmdk.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
Thanks, applied to the block branch.
> @@ -1720,7 +1721,7 @@ static int vmdk_create(const char *filename,
> QEMUOptionParameter *options,
> "\n"
> "ddb.virtualHWVersion = \"%d\"\n"
> "ddb.geometry.cylinders = \"%" PRId64 "\"\n"
> - "ddb.geometry.heads = \"%d\"\n"
> + "ddb.geometry.heads = \"%" PRIu32 "\"\n"
> "ddb.geometry.sectors = \"63\"\n"
> "ddb.adapterType = \"%s\"\n";
The same template also has:
"parentCID=%x\n"
This should be changed to PRIx32 in a follow-up patch.
Kevin