X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49054797aed6e149277e46fde87302c1d61b6299..c3d8431ed07f910b5ab9a7c59a78d2b6fc374b1f:/examples/msg/msg_test_suspend.c diff --git a/examples/msg/msg_test_suspend.c b/examples/msg/msg_test_suspend.c index 072d4928cf..8bcba5564b 100644 --- a/examples/msg/msg_test_suspend.c +++ b/examples/msg/msg_test_suspend.c @@ -6,7 +6,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */ -#include "xbt/sysdep.h" /* calloc, printf */ +#include "xbt/sysdep.h" /* calloc */ /* Create a log channel to have nice outputs. */ #include "xbt/log.h" @@ -72,8 +72,8 @@ int main(int argc, char *argv[]) MSG_global_init(&argc,argv); if (argc < 3) { - printf ("Usage: %s platform_file deployment_file\n",argv[0]); - printf ("example: %s msg_platform.xml msg_deployment_suspend.xml\n",argv[0]); + CRITICAL1 ("Usage: %s platform_file deployment_file\n",argv[0]); + CRITICAL1 ("example: %s msg_platform.xml msg_deployment_suspend.xml\n",argv[0]); exit(1); } test_all(argv[1],argv[2]);