execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy()

This commit is contained in:
Michal Sekletar
2019-06-25 21:52:28 +02:00
committed by Lennart Poettering
parent 7f474ed78d
commit 33fe9e3fd0
+1 -1
View File
@@ -3211,7 +3211,7 @@ static int exec_child(
if (mpol_is_valid(numa_policy_get_type(&context->numa_policy))) {
r = apply_numa_policy(&context->numa_policy);
if (r == -EOPNOTSUPP)
log_unit_debug_errno(unit, SYNTHETIC_ERRNO(r), "NUMA support not available, ignoring.");
log_unit_debug_errno(unit, r, "NUMA support not available, ignoring.");
else if (r < 0) {
*exit_status = EXIT_NUMA_POLICY;
return log_unit_error_errno(unit, r, "Failed to set NUMA memory policy: %m");