From cd940061c6539a3b3f89ed719d1c9d6cdf20936f Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 28 Apr 2008 20:26:54 +0000 Subject: Fix wrong type in printf(), introduced in revision 4265 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4278 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 6daa777..983c438 100644 --- a/vl.c +++ b/vl.c @@ -9000,8 +9000,8 @@ int main(int argc, char **argv) if (machine->ram_require & RAMSIZE_FIXED) { if (ram_size > 0) { if (ram_size < phys_ram_size) { - fprintf(stderr, "Machine `%s' requires %i bytes of memory\n", - machine->name, phys_ram_size); + fprintf(stderr, "Machine `%s' requires %llu bytes of memory\n", + machine->name, (unsigned long long) phys_ram_size); exit(-1); } -- cgit v1.1