cpu-set-util: fix identical ternary expression

Follow-up for fe3ada076e.
Fixes CID#1611792.
This commit is contained in:
Yu Watanabe
2025-07-26 03:44:49 +09:00
parent 1f4e9f6d60
commit 04a99c48d2
+1 -1
View File
@@ -222,7 +222,7 @@ int config_parse_cpu_set(
void *userdata) {
CPUSet *c = ASSERT_PTR(data);
int r, level = ltype ? LOG_DEBUG : LOG_DEBUG;
int r, level = ltype ? LOG_DEBUG : LOG_ERR;
bool critical = ltype;
assert(critical || lvalue);