Skip to content

Commit

Permalink
kex: display proper values for pkg mem stats
Browse files Browse the repository at this point in the history
 - large amounts of pkg memory were displayed as negative numbers

(cherry picked from commit 220f9ca)
  • Loading branch information
ovidiusas committed Feb 21, 2021
1 parent e163521 commit bdf4e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/kex/pkg_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static void rpc_pkg_stats(rpc_t* rpc, void* ctx)
_pkg_proc_stats_list[i].total_size = _pkg_proc_stats_list[0].total_size;
_pkg_proc_stats_list[i].rank = PROC_NOCHLDINIT;
}
if(rpc->struct_add(th, "dddddddds",
if(rpc->struct_add(th, "duduuuuus",
"entry", i,
"pid", _pkg_proc_stats_list[i].pid,
"rank", _pkg_proc_stats_list[i].rank,
Expand Down

0 comments on commit bdf4e00

Please sign in to comment.