Change-Id: Idc802257de224fdbaafe09bb85ff0c935e703550
} \
} while (0)
+#define MM_RM_RETVMS_IF(expr, val, fmt, arg...) \
+ do { \
+ if (expr) { \
+ SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
+ return(val); \
+ } \
+ } while (0)
+
#define MM_RM_RET_IF_GERR(gerr, msg) \
do { \
if (gerr != NULL) { \
gboolean _mmrm_dmn_init(void)
{
- MM_RM_RETVM_IF(access(RELEASE_CB_SYNC_PATH, F_OK) != 0, FALSE,
+ MM_RM_RETVMS_IF(access(RELEASE_CB_SYNC_PATH, F_OK) != 0, FALSE,
"systemd-tmpfiles-setup.service can't create %s", RELEASE_CB_SYNC_PATH);
MM_RM_RETVM_IF(mm_resource_manager_backend_init() !=