core: use correct error variable

This commit is contained in:
Zbigniew Jędrzejewski-Szmek committed 2026-11-04 00:33:24 +01:00
1 parent e282719c27
commit e0167d2bfd
1 file changed
+1 -1
+1 -1
View File
@@ -4000,7 +4000,7 @@ int config_parse_delegate(
cc = cgroup_controller_from_string(word);
if (cc < 0) {
log_syntax(unit, LOG_WARNING, filename, line, r, "Invalid controller name '%s', ignoring", word);
log_syntax(unit, LOG_WARNING, filename, line, cc, "Invalid controller name '%s', ignoring", word);
continue;
}