summaryrefslogtreecommitdiffstats
path: root/net/base/file_stream_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/file_stream_posix.cc')
-rw-r--r--net/base/file_stream_posix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/file_stream_posix.cc b/net/base/file_stream_posix.cc
index aac0be2..f039996 100644
--- a/net/base/file_stream_posix.cc
+++ b/net/base/file_stream_posix.cc
@@ -331,7 +331,8 @@ int FileStream::Open(const FilePath& path, int open_flags) {
open_flags_ = open_flags;
file_ = base::CreatePlatformFile(path.ToWStringHack(), open_flags_, NULL);
if (file_ == base::kInvalidPlatformFileValue) {
- LOG(WARNING) << "Failed to open file: " << errno;
+ LOG(WARNING) << "Failed to open file: " << errno
+ << " (" << path.ToWStringHack() << ")";
return MapErrorCode(errno);
}