Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve error message.
[simgrid.git] / teshsuite / smpi / scatter.c
index 50cec08..fda82e1 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2012-2014. 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. */
+
 /**
  * MESSAGE PASSING INTERFACE TEST CASE SUITE
  *
@@ -97,7 +103,7 @@ static int small_test(int rank, int size)
   }
   // verification
   if ((double) rank != rcvd) {
-    fprintf(stderr, "[%d] has %lf instead of %d\n", rank, rcvd, rank);
+    fprintf(stderr, "[%d] has %f instead of %d\n", rank, rcvd, rank);
     success = 0;
   }
   return (success);