From: Lennart Poettering Date: Wed, 7 Feb 2018 09:39:56 +0000 (+0100) Subject: bpf-firewall: fix warning text X-Git-Tag: v238~101^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=418cdd69d15191bac032d27fe3ec2708112cfcf6;p=thirdparty%2Fsystemd.git bpf-firewall: fix warning text I figure saying "systemd" here was a typo, and it should have been "system". (Yes, it becomes very hard after a while typing "system" correctly if you type "systemd" so often.) That said, "systemd" in some ways is actually more correct, since BPF might be available for the system instance but not in the user instance. Either way, talking of "this systemd" is weird, let's reword this to be "this manager", to emphasize that it's the local instance of systemd where BPF is not available, but that it might be available otherwise. --- diff --git a/src/core/bpf-firewall.c b/src/core/bpf-firewall.c index e11550f11c5..c5cda830061 100644 --- a/src/core/bpf-firewall.c +++ b/src/core/bpf-firewall.c @@ -494,7 +494,7 @@ int bpf_firewall_compile(Unit *u) { if (r < 0) return r; if (r == 0) { - log_debug("BPF firewalling not supported on this systemd, proceeding without."); + log_debug("BPF firewalling not supported on this manager, proceeding without."); return -EOPNOTSUPP; } @@ -556,7 +556,7 @@ int bpf_firewall_install(Unit *u) { if (r < 0) return r; if (r == 0) { - log_debug("BPF firewalling not supported on this systemd, proceeding without."); + log_debug("BPF firewalling not supported on this manager, proceeding without."); return -EOPNOTSUPP; }