summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2019-06-25 12:57:01 +0200
committerLennart Poettering <lennart@poettering.net>2019-06-25 21:52:28 +0200
commit33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67 (patch)
treec2b1a6f2cfc9f7883a515b5969c3dafe863ed67a
parent7f474ed78df138677557fb43701efeb6e2588c6f (diff)
downloadsystemd-33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67.tar.gz
execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy()
-rw-r--r--src/core/execute.c2
1 files changed, 1 insertions, 1 deletions
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");