]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/bpf: add forgotten %m
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 6 Jun 2021 11:12:18 +0000 (13:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Jun 2021 08:28:46 +0000 (10:28 +0200)
src/core/socket-bind.c

index b44e3ae8ab76450bf0aff072eeb47e4b62835cf7..25c6fecb5a0bf0fdb4193f865bc9c757e54d13d3 100644 (file)
@@ -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);