From: Gabriel Corona Date: Tue, 5 May 2015 11:03:58 +0000 (+0200) Subject: [mc] Fix XBT_ERROR message X-Git-Tag: v3_12~732^2~15 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ec55718ba94dcbd675ef6bc9cfc2e504f7a3e428?hp=048f1da88aece8fef4d7a9632895f9fc248eb5d7;ds=sidebyside [mc] Fix XBT_ERROR message --- diff --git a/src/mc/simgrid_mc.cpp b/src/mc/simgrid_mc.cpp index f06240ef84..2b1f204d13 100644 --- a/src/mc/simgrid_mc.cpp +++ b/src/mc/simgrid_mc.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015. The SimGrid Team. + /* Copyright (c) 2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -93,7 +93,7 @@ static int do_parent(int socket, pid_t child) mc_server->exit(); } catch(std::exception& e) { - XBT_ERROR(e.what()); + XBT_ERROR("Exception: %s", e.what()); } exit(MC_SERVER_ERROR); }