aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
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);
}