From: Alexander Aksenov Date: Wed, 6 Aug 2014 16:23:12 +0000 (+0400) Subject: [FIX] generate_maps_inst_msg() mem size eval X-Git-Tag: Tizen_SDK_2.3~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F25536%2F1;p=platform%2Fcore%2Fsystem%2Fswap-manager.git [FIX] generate_maps_inst_msg() mem size eval Change-Id: Id4618d475eb22816e62e293615ea87f1949d4c16 Signed-off-by: Alexander Aksenov --- diff --git a/daemon/da_inst.c b/daemon/da_inst.c index 1eab6bb..47a597a 100644 --- a/daemon/da_inst.c +++ b/daemon/da_inst.c @@ -590,7 +590,7 @@ static void generate_maps_inst_msg(struct user_space_inst_t *us_inst) p = app->app->exe_path; resolved = realpath((const char *)p, real_path_buf); if (resolved != NULL) { - total_len += strlen(p) + 1; + total_len += strlen(real_path_buf) + 1; total_maps_count++; LOGI("app #%u <%s>\n", total_maps_count, resolved); } else {