Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix copyright headers
[simgrid.git] / examples / amok / saturate / saturate.c
index 70d6cad..8d4a537 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id$ */
-
 /* saturate - link saturation demo of AMOK features                         */
 
-/* Copyright (c) 2003-6 Martin Quinson. All rights reserved.                */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
@@ -40,7 +39,7 @@ int sensor(int argc, char *argv[])
   gras_os_sleep(2);             /* let the master get ready */
   master = gras_socket_client_from_string(argv[1]);
 
-  amok_pm_group_join(master, "saturate", -1);
+  amok_pm_group_join(master, "saturate");
   amok_pm_mainloop(600);
 
   gras_socket_close(mysock);