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))