diff options
author | Arseny Maslennikov <arseny@altlinux.org> | 2023-10-15 10:00:00 +0200 |
---|---|---|
committer | Arseny Maslennikov <arseny@altlinux.org> | 2023-10-19 13:07:54 +0200 |
commit | a539314a87df37fea0bd39bf2b61cfab776968ec (patch) | |
tree | 95690991d36d5870f1f3fdea78fbb35b7b343a57 /src/shared/seccomp-util.c | |
parent | fuzz: unify logging setup (diff) | |
download | systemd-a539314a87df37fea0bd39bf2b61cfab776968ec.tar.xz systemd-a539314a87df37fea0bd39bf2b61cfab776968ec.zip |
seccomp: fix debug logging typo
Fixes: da4dc9a67487 ("seccomp: rework how the S[UG]ID filter is installed")
Diffstat (limited to 'src/shared/seccomp-util.c')
-rw-r--r-- | src/shared/seccomp-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 66c564aea2..afe56d5167 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) |