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 ce450bc + 6ba5f5f commit 8a055caCopy full SHA for 8a055ca
libcontainer/utils/cmsg.c
@@ -131,7 +131,7 @@ struct file_t recvfd(int sockfd)
131
if (cmsg->cmsg_type != SCM_RIGHTS)
132
error("recvfd: expected SCM_RIGHTS in cmsg: %d", cmsg->cmsg_type);
133
if (cmsg->cmsg_len != CMSG_LEN(sizeof(int)))
134
- error("recvfd: expected correct CMSG_LEN in cmsg: %lu", cmsg->cmsg_len);
+ error("recvfd: expected correct CMSG_LEN in cmsg: %lu", (unsigned long)cmsg->cmsg_len);
135
136
fdptr = (int *) CMSG_DATA(cmsg);
137
if (!fdptr || *fdptr < 0)
0 commit comments