1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 23:58:38 +02:00
openwrt-packages/utils/lxc/patches/016-uninitialized-ret-in-monitor.patch

12 lines
272 B
Diff
Raw Normal View History

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