diff options
author | Daniel Mack <daniel@zonque.org> | 2015-10-15 17:39:14 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-11-02 10:14:35 +0100 |
commit | 8ea823b60d0afe71c9237738d2164460da0b76e6 (patch) | |
tree | 88b29eba7fffe4deddb3d35d01f1fb9c1cedaec2 /src/core/unit.c | |
parent | 4b1728250d75de4851bdbf4d62d3cf85f9abda60 (diff) |
core: be more verbose when NameOwnerChanged subscriptions fail
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index f5ec630de2..6c130d4cd1 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2511,7 +2511,7 @@ int unit_watch_bus_name(Unit *u, const char *name) { * Otherwise, just put the name in the list. bus_setup_api() will take care later. */ r = unit_install_bus_match(u, u->manager->api_bus, name); if (r < 0) - return log_warning_errno(r, "Failed to subscribe to NameOwnerChanged signal: %m"); + return log_warning_errno(r, "Failed to subscribe to NameOwnerChanged signal for '%s': %m", name); } r = hashmap_put(u->manager->watch_bus, name, u); |