summaryrefslogtreecommitdiffstats
path: root/src/util.cc
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2011-12-20 23:14:33 (GMT)
committerThiago Farina <tfarina@chromium.org>2011-12-20 23:16:16 (GMT)
commit5f831217aa89cc006ead881e0039979c6a210170 (patch)
treeedb08b8e688490dc09490013873dbd16219619bd /src/util.cc
parentb1efc046a7d6c99030a93fdce8b893984ac3378c (diff)
downloadNinja-5f831217aa89cc006ead881e0039979c6a210170.zip
Ninja-5f831217aa89cc006ead881e0039979c6a210170.tar.gz
Ninja-5f831217aa89cc006ead881e0039979c6a210170.tar.bz2
Capitalize "error" to match with the other utility functions.
Fatal and Warning functions already output their strings capitalized, we were just missing the Error function. So capitalize it now. Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index 0511806..e8354b8 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -60,7 +60,7 @@ void Warning(const char* msg, ...) {
void Error(const char* msg, ...) {
va_list ap;
- fprintf(stderr, "ninja: error: ");
+ fprintf(stderr, "ninja: ERROR: ");
va_start(ap, msg);
vfprintf(stderr, msg, ap);
va_end(ap);