From: mquinson Date: Mon, 22 Mar 2010 10:09:12 +0000 (+0000) Subject: tiny improvement of error messages X-Git-Tag: SVN~452 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/42ac5e80ccbf5fed01bb4cf4d57014adac494c1e?hp=b896234de3ca57fe6f6f6d28af162fb85b9da2ac tiny improvement of error messages git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7287 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/host.c b/src/msg/host.c index 2d2edd96f4..2321cf32bd 100644 --- a/src/msg/host.c +++ b/src/msg/host.c @@ -220,7 +220,7 @@ const char *MSG_host_get_property_value(m_host_t host, const char *name) */ xbt_dict_t MSG_host_get_properties(m_host_t host) { - xbt_assert0((host != NULL), "Invalid parameters"); + xbt_assert0((host != NULL), "Invalid parameters (host is NULL)"); return (SIMIX_host_get_properties(host->simdata->smx_host)); } @@ -233,6 +233,6 @@ xbt_dict_t MSG_host_get_properties(m_host_t host) */ int MSG_host_is_avail(m_host_t h) { - xbt_assert0((h != NULL), "Invalid parameters"); + xbt_assert0((h != NULL), "Invalid parameters (host is NULL)"); return (SIMIX_host_get_state(h->simdata->smx_host)); }