Merge pull request #1357 from dangowrt/fix-lxc-on-mpc85xx

lxc: fix build on mpc85xx
This commit is contained in:
Luka Perkov 2015-06-09 14:33:16 +02:00
commit 7f9c9bff61
1 changed files with 11 additions and 0 deletions

View File

@ -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;