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
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment