Fix driver open fail ProcessState.cpp
The error message was incorrect.
Bugs: me
Change-Id: Ib79d3fd0931016b1686df8be5ad295762a9f1243
Test: N/A
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index c2e0937..c4dfc13 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -584,7 +584,7 @@
#ifdef __ANDROID__
LOG_ALWAYS_FATAL_IF(!opened.ok(),
"Binder driver '%s' could not be opened. Error: %s. Terminating.",
- error.c_str(), driver);
+ driver, error.c_str());
#endif
if (opened.ok()) {