From 61b1cf02f5c02be139b499ce2b557e80fcdc14d4 Mon Sep 17 00:00:00 2001 From: Ilya Pankratov Date: Tue, 4 Jun 2024 09:41:00 +0300 Subject: [PATCH] Fix typo Signed-off-by: Ilya Pankratov --- src/profstats/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profstats/main.c b/src/profstats/main.c index ad27bfe79ce..10eee3c4b89 100644 --- a/src/profstats/main.c +++ b/src/profstats/main.c @@ -344,7 +344,7 @@ int main(int argc, char **argv) { if (cnt_seccomp > (seccomp + 1)) cnt_seccomp = seccomp + 1; if (cnt_restrict_namespaces > (restrict_namespaces + 1)) - cnt_seccomp = restrict_namespaces + 1; + cnt_restrict_namespaces = restrict_namespaces + 1; if (cnt_dbus_user_none > (dbususernone + 1)) cnt_dbus_user_none = dbususernone + 1; if (cnt_dbus_user_filter > (dbususerfilter + 1))