Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change form of error message so that when host name is empty, you get it right at...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Apr 2009 10:10:03 +0000 (10:10 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Apr 2009 10:10:03 +0000 (10:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6261 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_deployment.c

index a19e2b4..95b393d 100644 (file)
@@ -26,9 +26,9 @@ static void parse_process_init(void)
 {
   parse_host = xbt_strdup(A_surfxml_process_host);
   xbt_assert1(SIMIX_host_get_by_name(parse_host),
-             "Unknown host %s", parse_host);
+             "Host '%s' unknown", parse_host);
   parse_code = SIMIX_get_registered_function(A_surfxml_process_function);
-  xbt_assert1(parse_code, "Unknown function %s",
+  xbt_assert1(parse_code, "Function '%s' unknown",
              A_surfxml_process_function);
   parse_argc = 0;
   parse_argv = NULL;