From: Michal Sekletar Date: Tue, 25 Jun 2019 10:57:01 +0000 (+0200) Subject: execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_pol... X-Git-Tag: v243-rc1~228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67;p=thirdparty%2Fsystemd.git execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy() --- diff --git a/src/core/execute.c b/src/core/execute.c index ccaf33a94ed..abf241aa81d 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");