From: Arseny Maslennikov Date: Sun, 15 Oct 2023 08:00:00 +0000 (+0300) Subject: seccomp: fix debug logging typo X-Git-Tag: v255-rc1~190^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a539314a87df37fea0bd39bf2b61cfab776968ec;p=thirdparty%2Fsystemd.git seccomp: fix debug logging typo Fixes: da4dc9a67487 ("seccomp: rework how the S[UG]ID filter is installed") --- 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)