diff options
author | 2017-05-23 20:08:37 +0200 | |
---|---|---|
committer | 2017-05-23 20:15:54 +0200 | |
commit | e7e561850428638c7e919eb1cfc850e71748b6dc (patch) | |
tree | cbc7348169e704ce280e14475b10d37306e5c1e0 /src/main/cpp | |
parent | 5608765ab737ebb8a98a04a6068143d53ae7065c (diff) |
cpp: change PrintError() to print "ERROR:"
As it was suggested in
https://bazel-review.googlesource.com/#/c/10875/3/src/main/cpp/util/errors.cc@58
This is because that way it's consistent with the warnings/errors that the Bazel
server displays.
Change-Id: I65ee961ac4db5b21461fa7f7864e7f3c94a6e4f3
PiperOrigin-RevId: 156884812
Diffstat (limited to 'src/main/cpp')
-rw-r--r-- | src/main/cpp/util/errors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/cpp/util/errors.cc b/src/main/cpp/util/errors.cc index 3106dc0858..4fc6190e98 100644 --- a/src/main/cpp/util/errors.cc +++ b/src/main/cpp/util/errors.cc @@ -43,7 +43,7 @@ void pdie(const int exit_status, const char *format, ...) { void PrintError(const char *format, ...) { const char *errormsg = GetLastErrorString().c_str(); - fprintf(stderr, "Error: "); + fprintf(stderr, "ERROR: "); va_list ap; va_start(ap, format); vfprintf(stderr, format, ap); |