[FIX] MSG_GET_REAL_PATH ack 39/48539/1 root_dep_remove
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Tue, 22 Sep 2015 13:31:37 +0000 (16:31 +0300)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Tue, 22 Sep 2015 13:31:37 +0000 (16:31 +0300)
Change-Id: I919bacfaf7d6193f2fe11cf077fd10c9bbdb8ffe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_protocol.c

index db570a1..ce78abc 100644 (file)
@@ -1250,7 +1250,7 @@ int process_msg_get_real_path(struct msg_buf_t *msg)
 
        /* resolve file path */
        resolved_path = realpath(file_path, NULL);
-       LOGE("NMSG_GET_REAL_PATH resolved path <%s>\n", resolved_path);
+       LOGI("NMSG_GET_REAL_PATH resolved path <%s>\n", resolved_path);
        if (resolved_path == NULL) {
                LOGE("NMSG_GET_REAL_PATH error: cannot resolve path <%s>\n",
                      file_path);
@@ -1275,7 +1275,7 @@ send_fail:
        resolved_path = "";
 send_ack:
        /* success */
-       sendACKToHost(NMSG_GET_PROCESS_ADD_INFO, err_code, resolved_path, response_len);
+       sendACKToHost(NMSG_GET_REAL_PATH, err_code, resolved_path, response_len);
 
        return -(err_code != ERR_NO);
 }