summaryrefslogtreecommitdiff
path: root/src/sim/system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r--src/sim/system.cc7
1 files changed, 4 insertions, 3 deletions
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);