Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Corrected error message.
authorvelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 25 Jul 2007 15:27:39 +0000 (15:27 +0000)
committervelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 25 Jul 2007 15:27:39 +0000 (15:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3892 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_config.c

index b1ab297..aab10e1 100644 (file)
@@ -28,8 +28,9 @@ static void _simix_cfg_cb__workstation_model(const char *name, int pos)
               !strcmp(val, "KCCFLN05") ||
              !strcmp(val, "KCCFLN05_proportional") ||
              !strcmp(val, "KCCFLN05_Vegas") ||
-             !strcmp(val, "KCCFLN05_Reno"),
-              "Unknown workstation model: %s (choices are: 'CLM03', 'KCCFLN05', 'KCCFLN05_proportional', 'KCCFLN05_Vegas' and 'KCCFLN05_Reno'",val);
+             !strcmp(val, "KCCFLN05_Reno") ||
+              !strcmp(val, "GTNETS"),
+              "Unknown workstation model: %s (choices are: 'CLM03', 'KCCFLN05', 'KCCFLN05_proportional', 'KCCFLN05_Vegas', 'KCCFLN05_Reno' and 'GTNETS'",val);
 }
 
 /* create the config set and register what should be */