]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cpu-set-util: fix identical ternary expression
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Jul 2025 17:15:56 +0000 (02:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Jul 2025 18:44:49 +0000 (03:44 +0900)
Follow-up for fe3ada076ea8799a4d75f2e63adf540992d6fbb2.
Fixes CID#1611792.

src/shared/cpu-set-util.c

index c5277f11af8e190961575992569812f3a992074c..cef23889caf1c0148fe2e38272bb498c1ae4901b 100644 (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);