From: Arnaud Giersch Date: Mon, 18 Nov 2013 21:29:21 +0000 (+0100) Subject: Fix format strings. X-Git-Tag: v3_11_beta~277 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b42b111b49496a72880b85e60ae86fb820ac41fd Fix format strings. --- diff --git a/examples/msg/cloud/migrate_vm.c b/examples/msg/cloud/migrate_vm.c index 46a87256a1..7e897575b5 100644 --- a/examples/msg/cloud/migrate_vm.c +++ b/examples/msg/cloud/migrate_vm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2012. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2013. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -73,7 +73,7 @@ static int master_main(int argc, char *argv[]) MSG_host_set_params(vm0, ¶ms); MSG_vm_start(vm0); - XBT_INFO("Test: Migrate a VM with %ld Mbytes RAM", params.ramsize / 1000 / 1000); + XBT_INFO("Test: Migrate a VM with %llu Mbytes RAM", params.ramsize / 1000 / 1000); vm_migrate(vm0, pm1); MSG_vm_destroy(vm0); @@ -85,7 +85,7 @@ static int master_main(int argc, char *argv[]) MSG_host_set_params(vm0, ¶ms); MSG_vm_start(vm0); - XBT_INFO("Test: Migrate a VM with %ld Mbytes RAM", params.ramsize / 1000 / 1000); + XBT_INFO("Test: Migrate a VM with %llu Mbytes RAM", params.ramsize / 1000 / 1000); vm_migrate(vm0, pm1); MSG_vm_destroy(vm0);