From: Martin Quinson Date: Tue, 1 Aug 2017 19:47:07 +0000 (+0200) Subject: typo found by lintian X-Git-Tag: v3_17~295 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3b68ec95a7648e14307f1d31699c14532cfd86ee typo found by lintian --- diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 978210a24b..5bc246a2af 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -391,8 +391,8 @@ void sg_config_init(int *argc, char **argv) xbt_cfg_register_boolean("model-check/sparse-checkpoint", "no", _mc_cfg_cb_sparse_checkpoint, "Use sparse per-page snapshots."); xbt_cfg_register_boolean("model-check/ksm", "no", _mc_cfg_cb_ksm, "Kernel same-page merging"); - xbt_cfg_register_string("model-check/property","", _mc_cfg_cb_property, - "Name of the file containing the property, as formated by the ltl2ba program."); + xbt_cfg_register_string("model-check/property", "", _mc_cfg_cb_property, + "Name of the file containing the property, as formatted by the ltl2ba program."); xbt_cfg_register_boolean("model-check/communications-determinism", "no", _mc_cfg_cb_comms_determinism, "Whether to enable the detection of communication determinism"); xbt_cfg_register_alias("model-check/communications-determinism","model-check/communications_determinism"); diff --git a/src/surf/plugins/host_energy.cpp b/src/surf/plugins/host_energy.cpp index bc636d3149..97befbd3c6 100644 --- a/src/surf/plugins/host_energy.cpp +++ b/src/surf/plugins/host_energy.cpp @@ -66,7 +66,7 @@ the time, and our model holds. ### What if the host has only one core? In this case, the parameters \b OneCore and \b AllCores are obviously the same. -Actually, SimGrid expect an energetic profile formated as 'Idle:Running' for mono-cores hosts. +Actually, SimGrid expect an energetic profile formatted as 'Idle:Running' for mono-cores hosts. If you insist on passing 3 parameters in this case, then you must have the same value for \b OneCore and \b AllCores. \code{.xml} @@ -325,7 +325,7 @@ void HostEnergy::initWattsRangeList() } else { // size == 3 xbt_assert((current_power_values.at(1)) == (current_power_values.at(2)), "Power properties incorrectly defined for host %s.\n" - "The energy profile of mono-cores should be formated as 'Idle:FullSpeed' only.\n" + "The energy profile of mono-cores should be formatted as 'Idle:FullSpeed' only.\n" "If you go for a 'Idle:OneCore:AllCores' power profile on mono-cores, then OneCore and AllCores " "must be equal.", host->getCname());