[lxc-devel] [lxcfs/master] fixes

brauner on Github lxc-bot at linuxcontainers.org
Thu Mar 5 16:38:37 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200305/7ff1e0ef/attachment.bin>
-------------- next part --------------
From 915c14d04d3a9e506ee564e0450209db393fa533 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Thu, 5 Mar 2020 17:37:11 +0100
Subject: [PATCH 1/2] utils: remove unused variable

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.c b/src/utils.c
index 3ff5717..ccbb50b 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -178,7 +178,7 @@ bool wait_for_sock(int sock, int timeout)
 {
 	__do_close_prot_errno int epfd = -EBADF;
 	struct epoll_event ev;
-	int ret, now, starttime, deltatime, saved_errno;
+	int ret, now, starttime, deltatime;
 
 	if ((starttime = time(NULL)) < 0)
 		return false;

From 19fdc62f216c50bb0096f3be40fd3be6751dda9a Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Thu, 5 Mar 2020 17:37:36 +0100
Subject: [PATCH 2/2] autotools: don't include lxcfs.1

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 doc/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9248937..022ea22 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,4 @@
-EXTRA_DIST = lxcfs.man.add \
-	     lxcfs.1
+EXTRA_DIST = lxcfs.man.add
 
 if HAVE_HELP2MAN
 man_MANS = lxcfs.1


More information about the lxc-devel mailing list