From: mquinson Date: Mon, 11 May 2009 22:37:40 +0000 (+0000) Subject: more informative debug messages X-Git-Tag: SVN~1359 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3de9011daef4eefba46c2f5d1dd95e676848d9b4 more informative debug messages git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6276 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/m_process.c b/src/msg/m_process.c index c168bbf1f4..3b1b3165eb 100644 --- a/src/msg/m_process.c +++ b/src/msg/m_process.c @@ -317,8 +317,8 @@ int MSG_process_get_PPID(m_process_t process) */ const char *MSG_process_get_name(m_process_t process) { - xbt_assert0(((process != NULL) - && (process->simdata)), "Invalid parameters"); + xbt_assert0(process, "Invalid parameter: process is NULL"); + xbt_assert0(process->simdata, "Invalid parameter: process->simdata is NULL"); return (process->name); }