Index: native_client_sdk/src/libraries/nacl_io/filesystem.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/filesystem.cc b/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
index c627ce30a2232fd81c8d55478e007326ba544f5f..feda1e76575eea3d08d1cabeb7fd9d0e180d7187 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
@@ -11,6 +11,7 @@ |
#include <string> |
#include "nacl_io/dir_node.h" |
+#include "nacl_io/log.h" |
#include "nacl_io/node.h" |
#include "nacl_io/osstat.h" |
#include "nacl_io/path.h" |
@@ -40,6 +41,7 @@ void Filesystem::Destroy() { |
Error Filesystem::OpenResource(const Path& path, ScopedNode* out_node) { |
out_node->reset(NULL); |
+ LOG_TRACE("Can't open resource: %s", path.Join().c_str()); |
return EINVAL; |
} |
@@ -54,6 +56,7 @@ void Filesystem::OnNodeDestroyed(Node* node) { |
} |
Error Filesystem::Filesystem_VIoctl(int request, va_list args) { |
+ LOG_ERROR("Unsupported ioctl: %#x", request); |
return EINVAL; |
} |