diff options
author | Michal Sekletar <msekleta@redhat.com> | 2019-06-25 12:57:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-06-25 21:52:28 +0200 |
commit | 33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67 (patch) | |
tree | c2b1a6f2cfc9f7883a515b5969c3dafe863ed67a /src/core/execute.c | |
parent | 7f474ed78df138677557fb43701efeb6e2588c6f (diff) | |
download | systemd-33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67.tar.gz systemd-33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67.tar.bz2 systemd-33fe9e3fd054e70a1f9e5af359bfe3dd8435ce67.zip |
execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_policy()
Diffstat (limited to 'src/core/execute.c')
-rw-r--r-- | src/core/execute.c | 2 |
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"); |