]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
signal-util: Use act instead of __act in comment
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 21 Dec 2025 18:14:35 +0000 (19:14 +0100)
committerMike Yuan <me@yhndnzj.com>
Sun, 21 Dec 2025 18:21:08 +0000 (19:21 +0100)
The clang-tidy check ignores trailing and
preceeding underscores, so let's just use act
instead of __act.

src/basic/signal-util.c

index a157462b9452c5aa5bb2c1e7c387a0d122692fb8..ae7bfa6bd338e3c055bf4ecc9e70e95943dff1e4 100644 (file)
@@ -241,7 +241,7 @@ int signal_is_blocked(int sig) {
 int autoreaping_enabled(void) {
         struct sigaction sa;
 
-        if (sigaction(SIGCHLD, /* __act= */ NULL, &sa) < 0)
+        if (sigaction(SIGCHLD, /* act= */ NULL, &sa) < 0)
                 return -errno;
 
         return sa.sa_handler == SIG_IGN || FLAGS_SET(sa.sa_flags, SA_NOCLDWAIT);