summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}