Commit cd940061c6539a3b3f89ed719d1c9d6cdf20936f
1 parent
1e72d3b7
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
Showing
1 changed file
with
2 additions
and
2 deletions
vl.c
... | ... | @@ -9000,8 +9000,8 @@ int main(int argc, char **argv) |
9000 | 9000 | if (machine->ram_require & RAMSIZE_FIXED) { |
9001 | 9001 | if (ram_size > 0) { |
9002 | 9002 | if (ram_size < phys_ram_size) { |
9003 | - fprintf(stderr, "Machine `%s' requires %i bytes of memory\n", | |
9004 | - machine->name, phys_ram_size); | |
9003 | + fprintf(stderr, "Machine `%s' requires %llu bytes of memory\n", | |
9004 | + machine->name, (unsigned long long) phys_ram_size); | |
9005 | 9005 | exit(-1); |
9006 | 9006 | } |
9007 | 9007 | ... | ... |