summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-daemon/sd-daemon.c
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-02-08 13:27:22 +0100
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:57 +0200
commit525cd24cd4369228c7f03077f8b6fd5f2908eed6 (patch)
tree6d2d693a60e675fa4921ec710d9f384845c6ca59 /src/libelogind/sd-daemon/sd-daemon.c
parent38690790a683eaca020b7a13cebac8849d6f4cd6 (diff)
treewide: fix typos and then/that use
Diffstat (limited to 'src/libelogind/sd-daemon/sd-daemon.c')
-rw-r--r--src/libelogind/sd-daemon/sd-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c
index 85d7757e1..773112249 100644
--- a/src/libelogind/sd-daemon/sd-daemon.c
+++ b/src/libelogind/sd-daemon/sd-daemon.c
@@ -469,7 +469,7 @@ _public_ int sd_pid_notify_with_fds(pid_t pid, int unset_environment, const char
have_pid = pid != 0 && pid != getpid();
if (n_fds > 0 || have_pid) {
- /* CMSG_SPACE(0) may return value different then zero, which results in miscalculated controllen. */
+ /* CMSG_SPACE(0) may return value different than zero, which results in miscalculated controllen. */
msghdr.msg_controllen =
(n_fds > 0 ? CMSG_SPACE(sizeof(int) * n_fds) : 0) +
(have_pid ? CMSG_SPACE(sizeof(struct ucred)) : 0);