From c8b919aba27a41adb7f75aeace358e4d31c47b76 Mon Sep 17 00:00:00 2001 From: Andrew Bardsley Date: Fri, 12 Sep 2014 10:22:47 -0400 Subject: style: Fix line continuation, especially in debug messages This patch closes a number of space gaps in debug messages caused by the incorrect use of line continuation within strings. (There's also one consistency change to a similar, but correct, use of line continuation) --- src/sim/stat_control.cc | 4 ++-- src/sim/system.cc | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/sim') diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc index 83089f399..75e717bfa 100644 --- a/src/sim/stat_control.cc +++ b/src/sim/stat_control.cc @@ -157,8 +157,8 @@ Global::Global() finalTick .functor(statFinalTick) .name("final_tick") - .desc("Number of ticks from beginning of simulation \ -(restored from checkpoints and never reset)") + .desc("Number of ticks from beginning of simulation " + "(restored from checkpoints and never reset)") ; hostInstRate diff --git a/src/sim/system.cc b/src/sim/system.cc index cabb358b3..fe5be23dc 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -450,9 +450,10 @@ System::getMasterId(std::string master_name) // Otherwise objects will have sized their stat buckets and // they will be too small - if (Stats::enabled()) - fatal("Can't request a masterId after regStats(). \ - You must do so in init().\n"); + if (Stats::enabled()) { + fatal("Can't request a masterId after regStats(). " + "You must do so in init().\n"); + } masterIds.push_back(master_name); -- cgit v1.2.3