The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxcfs/pull/423

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Ruan Kunliang <pete...@126.com>
From 85bd3f8e2fa9b20718689eb1e1f6181e8fc3922a Mon Sep 17 00:00:00 2001
From: Ruan Kunliang <pete...@126.com>
Date: Sat, 18 Jul 2020 20:16:12 +0800
Subject: [PATCH] fix type mismatch

Signed-off-by: Ruan Kunliang <pete...@126.com>
---
 src/cgroups/cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cgroups/cgroup.c b/src/cgroups/cgroup.c
index fee04c8..6fe1902 100644
--- a/src/cgroups/cgroup.c
+++ b/src/cgroups/cgroup.c
@@ -108,7 +108,7 @@ char *get_pid_cgroup(pid_t pid, const char *contrl)
 
        cfd = get_cgroup_fd(contrl);
        if (cfd < 0)
-               return false;
+               return NULL;
 
        if (pure_unified_layout(cgroup_ops))
                return cg_unified_get_current_cgroup(pid);
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to