We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aee3f6f + 0bd675a commit 6df383cCopy full SHA for 6df383c
libcontainer/nsenter/nsexec.c
@@ -286,7 +286,7 @@ static void nl_parse(int fd, struct nlconfig_t *config)
286
size = NLMSG_PAYLOAD(&hdr, 0);
287
current = data = malloc(size);
288
if (!data)
289
- bail("failed to allocate %d bytes of memory for nl_payload", size);
+ bail("failed to allocate %zu bytes of memory for nl_payload", size);
290
291
len = read(fd, data, size);
292
if (len != size)
0 commit comments