chiark / gitweb /
log: rearrange log function naming
[elogind.git] / src / core / main.c
index 486602ec0a8c3b526db298073b69a6a175c33a4d..78054afc4d4f5cd0ea3e72ed61645f7433cc8f34 100644 (file)
@@ -468,7 +468,7 @@ static int config_parse_cpu_affinity2(
 
         if (c) {
                 if (sched_setaffinity(0, CPU_ALLOC_SIZE(ncpus), c) < 0)
-                        log_warning_unit(unit, "Failed to set CPU affinity: %m");
+                        log_unit_warning(unit, "Failed to set CPU affinity: %m");
 
                 CPU_FREE(c);
         }