From a539314a87df37fea0bd39bf2b61cfab776968ec Mon Sep 17 00:00:00 2001 From: Arseny Maslennikov Date: Sun, 15 Oct 2023 11:00:00 +0300 Subject: [PATCH] seccomp: fix debug logging typo Fixes: da4dc9a67487 ("seccomp: rework how the S[UG]ID filter is installed") --- src/shared/seccomp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 66c564aea28..afe56d51676 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -2241,7 +2241,7 @@ int seccomp_restrict_suid_sgid(void) { k = seccomp_restrict_sxid(seccomp, S_ISGID); if (k < 0) - log_debug_errno(r, "Failed to add sgid rule for architecture %s, ignoring: %m", + log_debug_errno(k, "Failed to add sgid rule for architecture %s, ignoring: %m", seccomp_arch_to_string(arch)); if (r < 0 && k < 0)