diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-03 11:05:38 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | d2ad02c40bad6b67f0b38071987ce1fa9f8039ab (patch) | |
tree | 95df825ebb70cdabaf73a9fb767b168711875047 /src/main.cpp | |
parent | 9753260ef3e5bad3fc600987dbf9d82af259a4ea (diff) |
clang-tidy the place up
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 571ffca..ba41a65 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -130,7 +130,7 @@ int main(int /*argc*/, char ** /*argv*/) { sigaddset(&sset, SIGTERM); auto sfd = unique_fd(signalfd(-1, &sset, SFD_NONBLOCK | SFD_CLOEXEC)); - sigprocmask(SIG_BLOCK, &sset, NULL); + sigprocmask(SIG_BLOCK, &sset, nullptr); p.add_fd(sfd.fd, [](int fd) { struct signalfd_siginfo si; while (read(fd, &si, sizeof(si)) == sizeof(si)) { |