[lxc-devel] [lxc/master] fix lxc-cgroup not giving output

xorond on Github lxc-bot at linuxcontainers.org
Wed Dec 12 09:30:30 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 447 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181212/04ff0d44/attachment.bin>
-------------- next part --------------
From b8ac0dd14e8dccbdc19195d2f98392226feed9ab Mon Sep 17 00:00:00 2001
From: Oguz Bektas <o.bektas at proxmox.com>
Date: Wed, 12 Dec 2018 10:26:36 +0100
Subject: [PATCH] fix lxc-cgroup not giving output

lxc-cgroup fails to provide any output since the latest version, this
should fix it

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 src/lxc/tools/lxc_cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/tools/lxc_cgroup.c b/src/lxc/tools/lxc_cgroup.c
index b2cdaf05e..9b838b583 100644
--- a/src/lxc/tools/lxc_cgroup.c
+++ b/src/lxc/tools/lxc_cgroup.c
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
 			exit(EXIT_FAILURE);
 		}
 
-		INFO("%*s", ret, buffer);
+		printf("%*s", ret, buffer);
 	}
 
 	lxc_container_put(c);


More information about the lxc-devel mailing list