aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/platform_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ijar/platform_utils.cc')
-rw-r--r--third_party/ijar/platform_utils.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/ijar/platform_utils.cc b/third_party/ijar/platform_utils.cc
index 09818f7162..9633eb7cee 100644
--- a/third_party/ijar/platform_utils.cc
+++ b/third_party/ijar/platform_utils.cc
@@ -30,6 +30,7 @@
#include "src/main/cpp/util/errors.h"
#include "src/main/cpp/util/file.h"
#include "src/main/cpp/util/file_platform.h"
+#include "src/main/cpp/util/logging.h"
namespace devtools_ijar {
@@ -39,8 +40,8 @@ bool stat_file(const char* path, Stat* result) {
#if defined(COMPILER_MSVC) || defined(__CYGWIN__)
std::wstring wpath;
if (!blaze_util::AsAbsoluteWindowsPath(path, &wpath)) {
- blaze_util::die(255, "stat_file: AsAbsoluteWindowsPath(%s) failed: %s",
- path, blaze_util::GetLastErrorString().c_str());
+ BAZEL_DIE(255) << "stat_file: AsAbsoluteWindowsPath(" << path
+ << ") failed: " << blaze_util::GetLastErrorString();
}
bool success = false;
BY_HANDLE_FILE_INFORMATION info;