diff options
-rw-r--r-- | mobicore/daemon/Daemon/FSD/FSD.cpp | 4 | ||||
-rw-r--r-- | mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp | 17 |
2 files changed, 11 insertions, 10 deletions
diff --git a/mobicore/daemon/Daemon/FSD/FSD.cpp b/mobicore/daemon/Daemon/FSD/FSD.cpp index 012bbb8..fa9f245 100644 --- a/mobicore/daemon/Daemon/FSD/FSD.cpp +++ b/mobicore/daemon/Daemon/FSD/FSD.cpp @@ -79,10 +79,10 @@ void FSD::run( /*Create Tbase storage directory*/ if (stat(tbstpath, &st) == -1) { - LOG_I("%s: Creating <t-base storage Folder %s\n",TAG_LOG,tbstpath); + LOG_I("%s: Create <t-base storage folder %s", TAG_LOG, tbstpath); if(mkdir(tbstpath, 0600)==-1) { - LOG_E("%s: failed creating storage folder\n",TAG_LOG); + LOG_ERRNO("Failed to create storage folder"); } } do{ diff --git a/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp b/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp index 0012e5a..e815221 100644 --- a/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp +++ b/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp @@ -1411,28 +1411,29 @@ static void checkMobiCoreVersion( // Check <t-base version info. char *msg; if (!checkVersionOkMCI(versionPayload.versionInfo.versionMci, &msg)) { - LOG_E("%s", msg); + LOG_E("checkVersionOkMCI failed - %s", msg); failed = true; } - LOG_I_RELEASE("%s", msg); + LOG_I_RELEASE("versionMci - %s", msg); if (!checkVersionOkSO(versionPayload.versionInfo.versionSo, &msg)) { - LOG_E("%s", msg); + LOG_E("checkVersionOkSO failed - %s", msg); failed = true; } - LOG_I_RELEASE("%s", msg); + LOG_I_RELEASE("versionSo - %s", msg); if (!checkVersionOkMCLF(versionPayload.versionInfo.versionMclf, &msg)) { - LOG_E("%s", msg); + LOG_E("checkVersionOkMCLF failed - %s", msg); failed = true; } - LOG_I_RELEASE("%s", msg); + LOG_I_RELEASE("versionInfo - %s", msg); if (!checkVersionOkCONTAINER(versionPayload.versionInfo.versionContainer, &msg)) { - LOG_E("%s", msg); + LOG_E("checkVersionOkCONTAINER failed - %s", msg); failed = true; } - LOG_I_RELEASE("%s", msg); + LOG_I_RELEASE("versionContainer - %s", msg); } if (failed) { + LOG_E("Failed to check mobiCore version"); exit(1); } } |