Skip to content
Snippets Groups Projects
Commit 982e5a65 authored by Petr Baudis's avatar Petr Baudis
Browse files

compctld syslog(): %lu -> %zu for CMSG_LEN()

Pointed out by Stick.
parent b548f4b1
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ sockerror:
struct cmsghdr *cmsg;
cmsg = CMSG_FIRSTHDR(&msg);
if (cmsg == NULL || cmsg->cmsg_len != CMSG_LEN(sizeof(*cred))) {
syslog(LOG_INFO, "want %lu", CMSG_LEN(sizeof(*cred)));
syslog(LOG_INFO, "want %zu", CMSG_LEN(sizeof(*cred)));
errmsg = "cmsg";
goto sockerror;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment