summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMatt Evans <matt.evans@arm.com>2012-06-29 11:19:06 -0400
committerMatt Evans <matt.evans@arm.com>2012-06-29 11:19:06 -0400
commit234fd1c4d8822169b3cfc7beaeff79ad8e471f5c (patch)
treef6959f78584bc61af73293061bbb6660b2a808a8 /util
parent579047c76d9c9baa0cb80f7e7603a2e9d3c50376 (diff)
downloadgem5-234fd1c4d8822169b3cfc7beaeff79ad8e471f5c.tar.xz
Style: Make style.py's invalid warning print which file caused the infraction.
Diffstat (limited to 'util')
-rw-r--r--util/style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/style.py b/util/style.py
index 498bdf530..2c102b14d 100644
--- a/util/style.py
+++ b/util/style.py
@@ -244,7 +244,7 @@ class SortedIncludes(Verifier):
modified = mod & regions
if modified:
- self.write("invalid sorting of includes\n")
+ self.write("invalid sorting of includes in %s\n" % (filename))
if self.ui.verbose:
for start, end in modified.regions:
self.write("bad region [%d, %d)\n" % (start, end))