chiark / gitweb /
Major cleanup of all leftovers after rebasing on master.
[elogind.git] / src / shared / cgroup-show.c
index a794fc11b112448b606e171409d8f646c08775ce..4b038452fa80d84a274d6db6ca40e3d2225099a7 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "util.h"
 #include "formats-util.h"
 
 #include "util.h"
 #include "formats-util.h"
+#include "process-util.h"
 #include "macro.h"
 #include "path-util.h"
 #include "cgroup-util.h"
 #include "macro.h"
 #include "path-util.h"
 #include "cgroup-util.h"
@@ -151,7 +152,7 @@ int show_cgroup_by_path(const char *path, const char *prefix, unsigned n_columns
                 if (!k)
                         return -ENOMEM;
 
                 if (!k)
                         return -ENOMEM;
 
-                if (!(flags & OUTPUT_SHOW_ALL) && cg_is_empty_recursive(NULL, k, false) > 0)
+                if (!(flags & OUTPUT_SHOW_ALL) && cg_is_empty_recursive(NULL, k) > 0)
                         continue;
 
                 if (!shown_pids) {
                         continue;
 
                 if (!shown_pids) {