commit 7f9c9bff6118faf40d545095af4cb5535d71f264
parent ca26e170481690c27a1d5b150d40bdb6786f7a17
Author: Luka Perkov <luka.perkov@sartura.hr>
Date: Tue, 9 Jun 2015 14:33:16 +0200
Merge pull request #1357 from dangowrt/fix-lxc-on-mpc85xx
lxc: fix build on mpc85xx
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/utils/lxc/patches/016-uninitialized-ret-in-monitor.patch b/utils/lxc/patches/016-uninitialized-ret-in-monitor.patch
@@ -0,0 +1,11 @@
+--- a/src/lxc/monitor.c
++++ b/src/lxc/monitor.c
+@@ -181,7 +181,7 @@ int lxc_monitor_sock_name(const char *lx
+ int lxc_monitor_open(const char *lxcpath)
+ {
+ struct sockaddr_un addr;
+- int fd,ret;
++ int fd,ret = 0;
+ int retry,backoff_ms[] = {10, 50, 100};
+ size_t len;
+