diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 13:54:40 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-11-28 13:54:40 +0100 |
commit | c95f97a20f3b854109dc564da64950067b388aeb (patch) | |
tree | 2c070c74312ef5418e5b752d68cbc67a6963119a /src/core/busname.c | |
parent | 31938a8560a664c32a9d72f1fc2d4347b232e6e9 (diff) |
core: two more log_unit_*_errno() conversions
Diffstat (limited to 'src/core/busname.c')
-rw-r--r-- | src/core/busname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c index 6a0aef8d1f..7e7f7b384c 100644 --- a/src/core/busname.c +++ b/src/core/busname.c @@ -304,7 +304,7 @@ static int busname_open_fd(BusName *n) { mode = UNIT(n)->manager->running_as == SYSTEMD_SYSTEM ? "system" : "user"; n->starter_fd = bus_kernel_open_bus_fd(mode, &path); if (n->starter_fd < 0) { - log_unit_warning(UNIT(n)->id, "Failed to open %s: %s", path ?: "kdbus", strerror(-n->starter_fd)); + log_unit_warning_errno(UNIT(n)->id, n->starter_fd, "Failed to open %s: %m", path ?: "kdbus"); return n->starter_fd; } |