From 7663eb3e1b9cda4419bcb7ec04a363f71d6ed96d Mon Sep 17 00:00:00 2001 From: Nikita Kalyazin Date: Fri, 25 Oct 2013 15:35:40 +0400 Subject: [PATCH] [FIX] wrong pack size of system memory total/used if system_memory feature is disabled. Change-Id: I0f29b2b2d8838bd0f8673bdc6ac37cb33f1f7adf Signed-off-by: Nikita Kalyazin --- daemon/sys_stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/sys_stat.c b/daemon/sys_stat.c index 345eb7d..e8b1ba5 100644 --- a/daemon/sys_stat.c +++ b/daemon/sys_stat.c @@ -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); -- 2.7.4