Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: native_client_sdk/src/libraries/nacl_io/filesystem.cc

Issue 349703003: [NaCl SDK] Add some more logging to nacl_io. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux host build Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/dir_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698