Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
"Malformated" is not correct and malformation is only for fetal development. :)
[simgrid.git] / src / xbt / config.c
index a6c8f6e..f56f61b 100644 (file)
@@ -541,8 +541,8 @@ xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) {
       option=NULL; /* don't do next iteration */
 
     } else {
-      DEBUG3("Boundary on '%c'. len=%d;option-name=%d",
-            *option,len,option-name);
+      DEBUG3("Boundary on '%c'. len=%d;option-name=%ld",
+            *option,len,(long)(option-name));
 
       /* Pass the following blank chars */
       *(option++)='\0';
@@ -565,7 +565,7 @@ xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) {
     if (!val) {
       free(optionlist_cpy);
       xbt_assert1(FALSE,
-            "Malformated option: '%s'; Should be of the form 'name:value'",
+            "Bad format for option '%s'; Should be of the form 'name:value'",
                  name);
     }
     *(val++)='\0';