diff options
author | 2019-07-10 16:13:12 -0700 | |
---|---|---|
committer | 2019-07-10 16:16:07 -0700 | |
commit | 8c78e2e2fc3d028481421b834c0990e8f86ce23f (patch) | |
tree | 36c4bba322c897933e7f4b94e41dcccb8fd404aa /libs/binder/ProcessState.cpp | |
parent | e416f707865e0a5ffedf13a1c91495146adc895c (diff) |
libbinder: log driver name when it doesn't open
Bug: N/A
Test: build and look at logs on device w/ a problem
Change-Id: I9742d958b3f1bfac8f94bdf22c4543079d9e16bd
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r-- | libs/binder/ProcessState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 2d156df56b..b25cd7bf12 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -466,7 +466,7 @@ ProcessState::ProcessState(const char *driver, size_t mmap_size) } } - LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); + LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver '%s' could not be opened. Terminating.", driver); } ProcessState::~ProcessState() |