From: Vitaliy Cherepanov Date: Tue, 22 Sep 2015 13:31:37 +0000 (+0300) Subject: [FIX] MSG_GET_REAL_PATH ack X-Git-Tag: submit/tizen/20151105.065919~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F48539%2F1;p=platform%2Fcore%2Fsystem%2Fswap-manager.git [FIX] MSG_GET_REAL_PATH ack Change-Id: I919bacfaf7d6193f2fe11cf077fd10c9bbdb8ffe Signed-off-by: Vitaliy Cherepanov --- diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index db570a1..ce78abc 100644 --- a/daemon/da_protocol.c +++ b/daemon/da_protocol.c @@ -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); }