[FIX] wrong pack size of system memory total/used
authorNikita Kalyazin <n.kalyazin@samsung.com>
Fri, 25 Oct 2013 11:35:40 +0000 (15:35 +0400)
committerNikita Kalyazin <n.kalyazin@samsung.com>
Fri, 25 Oct 2013 13:23:12 +0000 (17:23 +0400)
if system_memory feature is disabled.

Change-Id: I0f29b2b2d8838bd0f8673bdc6ac37cb33f1f7adf
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
daemon/sys_stat.c

index 345eb7d..e8b1ba5 100644 (file)
@@ -2815,8 +2815,8 @@ struct msg_data_t *pack_system_info(struct system_info_t *sys_info)
                pack_int(p, 0); // pack shared_memory
                pack_int(p, 0); // pack pss_memory
                pack_int(p, 0); // pack total_alloc_size
-               pack_int(p, 0); // pack system_memory_total
-               pack_int(p, 0); // pack system_memory_used
+               pack_int64(p, 0); // pack system_memory_total
+               pack_int64(p, 0); // pack system_memory_used
        }
 
        pack_int(p, sys_info->disk_reads);