Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Permit to compile with full flags.
[simgrid.git] / src / gras / Msg / sg_msg.c
index 4e32910..a45a728 100644 (file)
@@ -71,7 +71,7 @@ int gras_socket_im_the_server(gras_socket_t sock) {
   /* This is where the bug is visible. Try to die as loudly as possible */
   xbt_backtrace_display_current();
   ((char*)sock)[sizeof(*sock)+1] = '0'; /* Try to make valgrind angry to see where that damn socket comes from */
-  system(bprintf("cat /proc/%d/maps 1>&2",getpid()));
+  if(system(bprintf("cat /proc/%d/maps 1>&2",getpid()))){}
   INFO6("I'm not the client in socket %p (comm:%p, rdvser=%p, rdvcli=%p) to %s, that's %s",
       sock,sock_data->comm_recv,sock_data->rdv_server,sock_data->rdv_client,
       SIMIX_host_get_name(SIMIX_process_get_host(sock_data->server)),