From ec55718ba94dcbd675ef6bc9cfc2e504f7a3e428 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 5 May 2015 13:03:58 +0200 Subject: [PATCH 1/1] [mc] Fix XBT_ERROR message --- src/mc/simgrid_mc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.20.1