Include the failed directory name if _mkdir fails.
am: d669de90be

* commit 'd669de90be1ba7e601fcd83092a0e9ca5effa178':
  Include the failed directory name if _mkdir fails.

Change-Id: Id9a3dcb3fb9de5af089948b07199c81248a488c3
diff --git a/io_delegate.cpp b/io_delegate.cpp
index aabe4cb..66891dd 100644
--- a/io_delegate.cpp
+++ b/io_delegate.cpp
@@ -99,8 +99,9 @@
 #endif
     // On darwin when you try to mkdir("/", ...) we get EISDIR.
     if (!success && (errno != EEXIST && errno != EISDIR)) {
-       LOG(ERROR) << "Error while creating directories: " << strerror(errno);
-       return false;
+      LOG(ERROR) << "Error while creating " << base_dir << ": "
+                 << strerror(errno);
+      return false;
     }
   }
   return true;