The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxcfs/pull/376
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: Christian Brauner <christian.brau...@ubuntu.com>
From 9ea4e12ee86fdbd314a43cdcdab81dd5c6f1a4ed Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@ubuntu.com> Date: Mon, 16 Mar 2020 18:55:09 +0100 Subject: [PATCH] utils: shut up compiler Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> --- src/utils.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils.h b/src/utils.h index 8ac6676..f55dc95 100644 --- a/src/utils.h +++ b/src/utils.h @@ -34,9 +34,7 @@ struct file_info; -__attribute__((format_arg(4))) extern char *must_strcat(char **src, size_t *sz, - size_t *asz, - const char *format, ...); +__attribute__((__format__(__printf__, 4, 5))) extern char *must_strcat(char **src, size_t *sz, size_t *asz, const char *format, ...); extern bool is_shared_pidns(pid_t pid); extern int preserve_ns(const int pid, const char *ns); extern void do_release_file_info(struct fuse_file_info *fi);
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel