]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: introduce LOG_ITEM() macro for verifying format string (#36780)
authorLuca Boccassi <bluca@debian.org>
Mon, 24 Mar 2025 12:58:14 +0000 (12:58 +0000)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 12:58:14 +0000 (12:58 +0000)
commit5aee5bda1a5e8e64834bbf7432078d4417d1546f
tree41d6b0271972c465f65c9e2e912b54c3a3d9649b
parentf0cfb6a791e2efc7ae7e473ea89ad99b6077d928
parentb05969ffd6c07efb4319ea8c0f6472ec51a4956b
tree-wide: introduce LOG_ITEM() macro for verifying format string (#36780)

This introduce `LOG_ITEM()` macro that checks format strings in
log_struct() and friends.

Hopefully, this silences false-positive warnings by Coverity.
src/core/cgroup.c
src/core/exec-invoke.c
src/journal/journald-server.c
src/login/logind-action.c