The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5530
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Stéphane Graber <[email protected]>
From f052dfdb95268418e0c69a21d1bcde2954d9a12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]> Date: Wed, 27 Feb 2019 11:25:33 +0100 Subject: [PATCH] lxd/main_nsexec: Fix type of length in file_to_buf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <[email protected]> --- lxd/main_nsexec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/main_nsexec.go b/lxd/main_nsexec.go index 3379e5d783..18e38d1f33 100644 --- a/lxd/main_nsexec.go +++ b/lxd/main_nsexec.go @@ -210,7 +210,7 @@ again: return ret; } -static char *file_to_buf(char *path, size_t *length) +static char *file_to_buf(char *path, ssize_t *length) { __do_close_prot_errno int fd = -EBADF; __do_free char *copy = NULL;
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
