Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We switched to SVN
[simgrid.git] / examples / simdag / mixtesim / src / main.c
index 32bafdc..e591f90 100644 (file)
@@ -28,13 +28,13 @@ int main(int argc, char **argv) {
 
 /*   xbt_log_control_set("sd.thres=debug"); */
 /*   xbt_log_control_set("sd_kernel.thres=debug"); */
-/*   xbt_log_control_set("surf_kernel.thres=debug"); */
+/*   xbt_log_control_set("surf.thres=debug"); */
 /*   xbt_log_control_set("mixtesim.thres=debug"); */
 
   
-  if (argc < 1) {
-     printf("Usage: %s xml_platform_file dagfile ", argv[0]);
-     printf("example: %s gridfile.xml dagfile", argv[0]);
+  if (argc < 3) {
+     printf("Usage: %s xml_platform_file dagfile \n", argv[0]);
+     printf("example: %s gridfile.xml dagfile\n", argv[0]);
      exit(1);
   }