aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-28 20:26:54 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-28 20:26:54 +0000
commitcd940061c6539a3b3f89ed719d1c9d6cdf20936f (patch)
tree461c17b4266485ba3bdf6ccfb7bd56dffdc5c296 /vl.c
parent1e72d3b7ad9108fec5cb90d38ddfd00bdf498db2 (diff)
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
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 6daa77707f..983c438261 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);
}