]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bpf-firewall: fix warning text
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Feb 2018 09:39:56 +0000 (10:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Feb 2018 10:34:00 +0000 (11:34 +0100)
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.

src/core/bpf-firewall.c

index e11550f11c5f18620c79b37078e0e796ef97480c..c5cda830061e5f3bdc4aa1e152ba4bc9862b2133 100644 (file)
@@ -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;
         }