* Please set the default ability in this function.
*
* If 'ability_decieded' is set to 1, the default is #MC_ABILITY_SUPPORTED_NO.
- * Ohterwise, the default is #MC_ABILITY_SUPPORTED_UNDECIDED.
+ * Otherwise, the default is #MC_ABILITY_SUPPORTED_UNDECIDED.
* If both 'ability_decieded' and 'ability_supported' are set to 1,
* the default is #MC_ABILITY_SUPPORTED_YES.
*/
res = mc_db_util_check_integrity(db_handle);
if (res != MEDIA_CONTROLLER_ERROR_NONE)
- mc_error("check interity failed");
+ mc_error("check integrity failed");
/* Disconnect media controller DB*/
mc_db_disconnect(db_handle);
} else if (req->req_msg->priv_type == MC_PRIV_TYPE_CLIENT) {
ret = mc_cynara_check(&creds, MC_CLIENT_PRIVILEGE);
} else {
- mc_error("wroing priv_type[%d]", req->req_msg->priv_type);
+ mc_error("invalid priv_type[%d]", req->req_msg->priv_type);
send_msg = MEDIA_CONTROLLER_ERROR_INVALID_OPERATION;
goto ERROR;
}
}
if (req->req_msg->msg_type < 0 || req->req_msg->msg_type >= MC_MSG_MAX) {
- mc_error("wroing msg_type[%d]", req->req_msg->msg_type);
+ mc_error("invalid msg_type[%d]", req->req_msg->msg_type);
send_msg = MEDIA_CONTROLLER_ERROR_INVALID_OPERATION;
goto ERROR;
}