runc/libcontainer/utils
Justin Cormack 6ba5f5f9b8 Remove a compiler warning in some environments
POSIX mandates that `cmsg_len` in `struct cmsghdr` is a `socklen_t`,
which is an `unsigned int`. Musl libc as used in Alpine implements
this; Glibc ignores the spec and makes it a `size_t` ie `unsigned long`.
To avoid the `-Wformat=` warning from the `%lu` on Alpine, cast this
to an `unsigned long` always.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-24 14:06:15 +00:00
..
cmsg.c Remove a compiler warning in some environments 2017-01-24 14:06:15 +00:00
cmsg.go Fix typos 2017-01-06 10:54:33 +08:00
cmsg.h cmsg: add cmsg {send,recv}fd wrappers 2016-12-01 15:46:04 +11:00
utils.go tiny fix 2016-10-11 16:32:56 +08:00
utils_test.go Correction in util error messages 2016-10-29 19:50:56 +05:30
utils_unix.go Windows: Factor out CloseExecFrom 2015-06-26 20:13:17 -07:00