From: mquinson Date: Mon, 22 Mar 2010 10:09:00 +0000 (+0000) Subject: tiny improvement of error messages X-Git-Tag: SVN~454 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/16edf70b872e2d607cbb9122f6168a85e27f3721?ds=sidebyside tiny improvement of error messages git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7285 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index b1fc9ae2ed..699c67e2df 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -218,7 +218,7 @@ XBT_INLINE smx_host_t SIMIX_host_get_by_name(const char *name) */ XBT_INLINE xbt_dict_t SIMIX_host_get_properties(smx_host_t host) { - xbt_assert0((host != NULL), "Invalid parameters"); + xbt_assert0((host != NULL), "Invalid parameters (simix host is NULL)"); return surf_workstation_model->extension.workstation.get_properties(host->host); } @@ -233,7 +233,7 @@ XBT_INLINE xbt_dict_t SIMIX_host_get_properties(smx_host_t host) */ XBT_INLINE int SIMIX_host_get_state(smx_host_t host) { - xbt_assert0((host != NULL), "Invalid parameters"); + xbt_assert0((host != NULL), "Invalid parameters (simix host is NULL)"); return (surf_workstation_model->extension.workstation. get_state(host->host));