diff options
author | Maciej Wereski <m.wereski@partner.samsung.com> | 2015-09-08 15:36:30 +0200 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2015-09-09 14:28:43 +0200 |
commit | a5bd3c32abb00ad945282568fd1a97c180b68047 (patch) | |
tree | 79bedcfbdc5643a4b0faa6d304b0dd416ec238d9 /src/core/main.c | |
parent | 542a69a284805aaf5b92b0e5da39339967d516e3 (diff) |
sd_pid_notify_with_fds: fix computing msg_controllen
CMSG_SPACE(0) may return value other than 0. This caused sendmsg to fail
with EINVAL, when have_pid or n_fds was 0.
Diffstat (limited to 'src/core/main.c')
0 files changed, 0 insertions, 0 deletions