Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created November 28, 2016 19:39
Show Gist options
  • Save invisiblek/d45a34f90cef1eae5532cf07b383315a to your computer and use it in GitHub Desktop.
Save invisiblek/d45a34f90cef1eae5532cf07b383315a to your computer and use it in GitHub Desktop.
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index 37e01ba..12c1a95 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -364,6 +364,7 @@ class FileDescriptorTable {
// /proc/self/fd for the list of open file descriptors and collects
// information about them. Returns NULL if an error occurs.
static FileDescriptorTable* Create() {
+ ALOGE("FDPATH: %s", kFdPath);
DIR* d = opendir(kFdPath);
if (d == NULL) {
ALOGE("Unable to open directory %s: %s", kFdPath, strerror(errno));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment