Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
compctl-kam
Commits
982e5a65
Commit
982e5a65
authored
Mar 08, 2012
by
Petr Baudis
Browse files
compctld syslog(): %lu -> %zu for CMSG_LEN()
Pointed out by Stick.
parent
b548f4b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
compctld.c
View file @
982e5a65
...
...
@@ -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 %
l
u"
,
CMSG_LEN
(
sizeof
(
*
cred
)));
syslog
(
LOG_INFO
,
"want %
z
u"
,
CMSG_LEN
(
sizeof
(
*
cred
)));
errmsg
=
"cmsg"
;
goto
sockerror
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment