Fix typo 77/239577/2
authorjiyong.min <jiyong.min@samsung.com>
Tue, 28 Jul 2020 01:39:05 +0000 (10:39 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Tue, 28 Jul 2020 01:49:16 +0000 (10:49 +0900)
Change-Id: I00a62ecbe966cfcabafcb4f8b36cb15230318439

svc/media_controller_db_util.c
svc/media_controller_svc.c

index b0dbf9c57895146380810579f5352d89099e6f69..6771c4c4fc3079a6917d9c9689f2935054c8fe9f 100644 (file)
@@ -130,7 +130,7 @@ static void __mc_db_set_default_ability(unsigned long long *ability_decided, uns
         * 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.
         */
index 0172b85876ccc25c13d19cfe2a5a44752654d6ad..e01f78f0f2cc83d1e7bb49c9c00a115afe31dddd 100644 (file)
@@ -253,7 +253,7 @@ static int __mc_service_check_db(uid_t uid)
 
        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);
@@ -659,7 +659,7 @@ static gboolean __mc_read_service_request_tcp_socket(GIOChannel *src, GIOConditi
        } 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;
        }
@@ -671,7 +671,7 @@ static gboolean __mc_read_service_request_tcp_socket(GIOChannel *src, GIOConditi
        }
 
        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;
        }