struct tzplatform_context *ctx = NULL;
char *path = NULL;
- mc_retvm_if(uid < REGULAR_USER, NULL, "Invalid uid");
+ mc_retvm_if(uid < REGULAR_USER, NULL, "Invalid uid [%d]", uid);
g_mutex_lock(&tzplatform_mutex);
{
char *db_path = NULL;
- if (uid == getuid())
+ if (uid == getuid()) {
db_path = g_strdup(tzplatform_mkpath(TZ_USER_DB, MC_DB_NAME));
- else
+ } else {
+ mc_info("uid : [%d] getuid() : [%d]", uid, getuid());
db_path = __mc_db_get_user_path(uid);
+ }
//mc_secure_debug("DB path [%s]", db_path);