clang-tidy the place up
[staging/windowmanager.git] / src / main.cpp
index 571ffca..ba41a65 100644 (file)
@@ -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)) {