X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/505a8244525e28d212a27a6cc87d8a58b04dae44..6e8589d6a8476d3d6dd2453d933ed9759cd215b0:/src/xbt/config.c?ds=sidebyside diff --git a/src/xbt/config.c b/src/xbt/config.c index 0c23d46e1a..3f8a5e43b1 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -8,7 +8,6 @@ /* 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. */ -#include #include "xbt/misc.h" #include "xbt/sysdep.h" #include "xbt/log.h" @@ -17,6 +16,8 @@ #include "xbt/dict.h" #include "xbt/peer.h" +#include + #include "xbt/config.h" /* prototypes of this module */ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_cfg, xbt, "configuration support"); @@ -667,7 +668,7 @@ void xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) { val = strchr(name, ':'); if (!val) { /* don't free(optionlist_cpy) here, 'name' points inside it */ - xbt_die("Option '%s' badly formated. Should be of the form 'name:value'", + xbt_die("Option '%s' badly formatted. Should be of the form 'name:value'", name); } *(val++) = '\0';