diff options
author | Daniel Mack <github@zonque.org> | 2016-02-24 15:51:34 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-02-24 15:51:34 +0100 |
commit | 96b08d65a12c304c59febbc52bc871753f0c6f31 (patch) | |
tree | 150de8b7f09fd85572ade2ddbc53d1769e36bcf9 /src/libsystemd/sd-daemon/sd-daemon.c | |
parent | 77d9510adc57224946393ed4fdc4e0468e3b501d (diff) | |
parent | 96d490114900686b4d17f9b751fab6e39cfcc560 (diff) |
Merge pull request #2722 from torstehu/fix-typo2
treewide: fix typos and then/that use
Diffstat (limited to 'src/libsystemd/sd-daemon/sd-daemon.c')
-rw-r--r-- | src/libsystemd/sd-daemon/sd-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c index 4e50b61979..bd1c7f15ff 100644 --- a/src/libsystemd/sd-daemon/sd-daemon.c +++ b/src/libsystemd/sd-daemon/sd-daemon.c @@ -465,7 +465,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); |