From 5b35b56eae21ccaef9911a5f01b8bc4ce762d5b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 6 Jun 2021 13:12:18 +0200 Subject: [PATCH] core/bpf: add forgotten %m --- src/core/socket-bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/socket-bind.c b/src/core/socket-bind.c index b44e3ae8ab7..25c6fecb5a0 100644 --- a/src/core/socket-bind.c +++ b/src/core/socket-bind.c @@ -81,7 +81,7 @@ static int prepare_socket_bind_bpf( "Failed to resize BPF map '%s': %m", sym_bpf_map__name(obj->maps.sd_bind_deny)); if (socket_bind_bpf__load(obj) != 0) - return log_unit_error_errno(u, errno, "Failed to load BPF object"); + return log_unit_error_errno(u, errno, "Failed to load BPF object: %m"); allow_map_fd = sym_bpf_map__fd(obj->maps.sd_bind_allow); assert(allow_map_fd >= 0); -- 2.47.3