Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the error message both correct and explicit about what's going wrong (%s is...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Sep 2005 14:32:29 +0000 (14:32 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Sep 2005 14:32:29 +0000 (14:32 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1731 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/config.c

index f56f61b..6b791c0 100644 (file)
@@ -565,7 +565,7 @@ xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) {
     if (!val) {
       free(optionlist_cpy);
       xbt_assert1(FALSE,
     if (!val) {
       free(optionlist_cpy);
       xbt_assert1(FALSE,
-            "Bad format for option '%s'; Should be of the form 'name:value'",
+            "Option '%s' badly formated. Should be of the form 'name:value'",
                  name);
     }
     *(val++)='\0';
                  name);
     }
     *(val++)='\0';