]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
execute: drop SYNTHETIC_ERRNO because error code was received from the apply_numa_pol...
authorMichal Sekletar <msekleta@redhat.com>
Tue, 25 Jun 2019 10:57:01 +0000 (12:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Jun 2019 19:52:28 +0000 (21:52 +0200)
src/core/execute.c

index ccaf33a94edacbb9a6813c593a21c14f4267d953..abf241aa81da46d664f44b542c19b36c2066e90a 100644 (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");