]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/cgtop/cgtop.c
Merge pull request #8149 from poettering/fake-root-cgroup
[thirdparty/systemd.git] / src / cgtop / cgtop.c
index d7708dab2d2aa3f8ad9d1a1182a0c2c8272c5052..4cab5a253c473d84d643d2e912b533a86aaede3f 100644 (file)
@@ -967,8 +967,8 @@ int main(int argc, char *argv[]) {
         } else
                 log_debug("Cgroup path: %s", root);
 
-        a = hashmap_new(&string_hash_ops);
-        b = hashmap_new(&string_hash_ops);
+        a = hashmap_new(&path_hash_ops);
+        b = hashmap_new(&path_hash_ops);
         if (!a || !b) {
                 r = log_oom();
                 goto finish;