summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2016-05-29 23:25:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-06-29 07:51:58 +0200
commite9bd84e36f79ee97c2561537356c2c9c58955a8b (patch)
tree954b6a7ff21113a92a1f534e0cfcb4a6b33d8476
parent4e539fdcfd61ef7412d34017b4da170ff54f8f91 (diff)
downloadandroid_hardware_samsung_slsi_exynos5430-e9bd84e36f79ee97c2561537356c2c9c58955a8b.tar.gz
android_hardware_samsung_slsi_exynos5430-e9bd84e36f79ee97c2561537356c2c9c58955a8b.tar.xz
android_hardware_samsung_slsi_exynos5430-e9bd84e36f79ee97c2561537356c2c9c58955a8b.zip
mobicore: Improve initialization logging
Change-Id: I39a15bfe65b76ddc26e6b44de2ba41610bad1937
-rw-r--r--mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp b/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp
index e815221..edac844 100644
--- a/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp
+++ b/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp
@@ -112,6 +112,8 @@ void MobiCoreDriverDaemon::run(
void
)
{
+ const char *devNode = "/dev/" MC_ADMIN_DEVNODE;
+
LOG_I_RELEASE("Daemon starting up...");
LOG_I_RELEASE("Socket interface version is %u.%u", DAEMON_VERSION_MAJOR, DAEMON_VERSION_MINOR);
@@ -132,9 +134,9 @@ void MobiCoreDriverDaemon::run(
// initialize device (setupo MCI)
if (!mobiCoreDevice->initDevice(
- "/dev/" MC_ADMIN_DEVNODE,
+ devNode,
enableScheduler)) {
- LOG_E("Could not initialize <t-base!");
+ LOG_E("Could not initialize <t-base (because %s could not be openend)!", devNode);
return;
}