From 33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Tue, 25 Jun 2019 12:57:01 +0200 Subject: [PATCH] execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy() --- src/core/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execute.c b/src/core/execute.c index ccaf33a94e..abf241aa81 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -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");