mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
lxc: bump version to 1.1.3
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
committed by
Luka Perkov
parent
5b2245131b
commit
00e774f374
@@ -1,11 +0,0 @@
|
||||
--- 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;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
--- a/src/lxc/bdev.c
|
||||
+++ b/src/lxc/bdev.c
|
||||
@@ -1936,3 +1936,3 @@ static int loop_mount(struct bdev *bdev)
|
||||
{
|
||||
- int lfd, ffd = -1, ret = -1;
|
||||
+ int lfd = -1, ffd = -1, ret = -1;
|
||||
struct loop_info64 lo;
|
||||
@@ -1974,3 +1974,3 @@ out:
|
||||
if (ret < 0) {
|
||||
- close(lfd);
|
||||
+ if (lfd > -1) close(lfd);
|
||||
bdev->lofd = -1;
|
||||
Reference in New Issue
Block a user