From 8c78e2e2fc3d028481421b834c0990e8f86ce23f Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 10 Jul 2019 16:13:12 -0700 Subject: 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 --- libs/binder/ProcessState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/binder/ProcessState.cpp') 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() -- cgit v1.2.3-59-g8ed1b