]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: explicit mention of unit ID is redundant with log_unit_*()
authorFranck Bui <fbui@suse.com>
Tue, 26 Nov 2019 10:33:08 +0000 (11:33 +0100)
committerFranck Bui <fbui@suse.com>
Fri, 10 Jan 2020 13:20:28 +0000 (14:20 +0100)
src/core/unit.c

index 399a8cf655b1c8b7c68cdad1dbaaec2c39a5daa1..86ed535ba5748e46160c20080805ad0fac8e79a7 100644 (file)
@@ -5318,7 +5318,7 @@ static void unit_update_dependency_mask(Unit *u, UnitDependency d, Unit *other,
         if (di.origin_mask == 0 && di.destination_mask == 0) {
                 /* No bit set anymore, let's drop the whole entry */
                 assert_se(hashmap_remove(u->dependencies[d], other));
-                log_unit_debug(u, "%s lost dependency %s=%s", u->id, unit_dependency_to_string(d), other->id);
+                log_unit_debug(u, "lost dependency %s=%s", unit_dependency_to_string(d), other->id);
         } else
                 /* Mask was reduced, let's update the entry */
                 assert_se(hashmap_update(u->dependencies[d], other, di.data) == 0);