Fix bad assert in show_pid_array
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 14 Oct 2013 23:15:24 +0000 (19:15 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 14 Oct 2013 23:16:25 +0000 (19:16 -0400)
commita0551d26ab5c6e0d5089b42a6319baef0e28ad92
tree1131d7a0d4c8d3bc6f4b22226164b06d87483156
parent68313d3dfa2082dae8a06643d639e0200afc19fc
Fix bad assert in show_pid_array

This function should get the same treatment as other qsort uses
did in 7ff7394 "Never call qsort on potentially NULL arrays".

Reported-by: Oleksii Shevchuk <alxchk@gmail.com>
src/shared/cgroup-show.c