Skip to contentSkip to conversation

[4278] Fix wrong type in printf(), introduced in revision 4265

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 28, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4278

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4278
Author:   aurel32
Date:     2008-04-28 20:26:54 +0000 (Mon, 28 Apr 2008)

Log Message:
-----------
Fix wrong type in printf(), introduced in revision 4265

Revision Links:
--------------

    http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4265

Modified Paths:
--------------
trunk/vl.c

Modified: trunk/vl.c
===================================================================

vl.c +2 -2
@@ -9000,8 +9000,8 @@
     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);
             }