From 486180fa03a38776dd8ab3e8ef21b2544765117c Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Wed, 6 Aug 2014 20:23:12 +0400 Subject: [PATCH] [FIX] generate_maps_inst_msg() mem size eval Change-Id: Id4618d475eb22816e62e293615ea87f1949d4c16 Signed-off-by: Alexander Aksenov --- daemon/da_inst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.7.4