From 982e5a65d70f42ded97fa801ab6695bf028736bd Mon Sep 17 00:00:00 2001 From: Petr Baudis <pasky@ucw.cz> Date: Thu, 8 Mar 2012 23:18:45 +0100 Subject: [PATCH] compctld syslog(): %lu -> %zu for CMSG_LEN() Pointed out by Stick. --- compctld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compctld.c b/compctld.c index dc48c75..6ac733f 100644 --- a/compctld.c +++ b/compctld.c @@ -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; } -- GitLab