summaryrefslogtreecommitdiff
path: root/tools/aapt/SourcePos.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-07-13 13:02:33 -0700
committerMarco Nelissen <marcone@google.com>2009-07-13 14:14:01 -0700
commitdd931864209eac0b4182d7a0d1ca965fcc3b8c03 (patch)
tree27cd6d92392b837373bf97682d91834e7c4238d8 /tools/aapt/SourcePos.cpp
parent3cdff8133b96b672523c330bbc1adcab59125b9f (diff)
Format aapt warnings the same way as other compiler warnings
('warning: ' instead of 'WARNING: ' or 'WARNING ')
Diffstat (limited to 'tools/aapt/SourcePos.cpp')
-rw-r--r--tools/aapt/SourcePos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/SourcePos.cpp b/tools/aapt/SourcePos.cpp
index 2761d182dec6..e2a921c060c5 100644
--- a/tools/aapt/SourcePos.cpp
+++ b/tools/aapt/SourcePos.cpp
@@ -86,7 +86,7 @@ ErrorPos::operator=(const ErrorPos& rhs)
void
ErrorPos::print(FILE* to) const
{
- const char* type = fatal ? "ERROR" : "WARNING";
+ const char* type = fatal ? "error:" : "warning:";
if (this->line >= 0) {
fprintf(to, "%s:%d: %s %s\n", this->file.string(), this->line, type, this->error.string());