summaryrefslogtreecommitdiffstats
path: root/src/test/test-bpf-foreign-programs.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:19:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:19:38 +0000
commit9aec250ec2362c12c8e6be62ab21b8269bbb4c65 (patch)
treebe3fb598e4ba731ca2e02861dad906f61823cdd2 /src/test/test-bpf-foreign-programs.c
parentAdding debian version 252.23-1~deb12u1. (diff)
downloadsystemd-9aec250ec2362c12c8e6be62ab21b8269bbb4c65.tar.xz
systemd-9aec250ec2362c12c8e6be62ab21b8269bbb4c65.zip
Merging upstream version 252.25.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test-bpf-foreign-programs.c')
-rw-r--r--src/test/test-bpf-foreign-programs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bpf-foreign-programs.c b/src/test/test-bpf-foreign-programs.c
index 0445c39..41cd19a 100644
--- a/src/test/test-bpf-foreign-programs.c
+++ b/src/test/test-bpf-foreign-programs.c
@@ -253,7 +253,7 @@ static int test_bpf_cgroup_programs(Manager *m, const char *unit_name, const Tes
while (!IN_SET(SERVICE(u)->state, SERVICE_DEAD, SERVICE_FAILED)) {
r = sd_event_run(m->event, UINT64_MAX);
if (r < 0)
- return log_error_errno(errno, "Event run failed %m");
+ return log_error_errno(r, "Event run failed %m");
}
cld_code = SERVICE(u)->exec_command[SERVICE_EXEC_START]->exec_status.code;