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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_handle.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/kernel_handle.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
index 29c4890975794b48611e77b75c47c5f9c6e68c80..5c5bcc10b2f30e2ca66ba561ea0f936a81a13132 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
@@ -151,6 +151,9 @@ Error KernelHandle::VFcntl(int request, int* result, va_list args) {
handle_attr_.flags |= flags;
return 0;
}
+ default:
+ LOG_ERROR("Unsupported fcntl: %#x", request);
+ break;
}
return ENOSYS;
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/jsfs/js_fs_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/kernel_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698