summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-07 22:51:48 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-07 23:44:08 +0100
commit2efe2438fd65ddda79551f97bf85160e520d52d8 (patch)
tree88dfa37541bfa7dc0a5ad2a073ee20fdec802f31 /src/libsystemd
parent1a4873c499aa01478ee2e3b9c0bc967a961d7645 (diff)
bus-util: fix error number output when waiting for job
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-bus/bus-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-util.c b/src/libsystemd/sd-bus/bus-util.c
index 86b83db1be..bb08e387c4 100644
--- a/src/libsystemd/sd-bus/bus-util.c
+++ b/src/libsystemd/sd-bus/bus-util.c
@@ -1760,6 +1760,7 @@ int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet) {
if (q < 0 && r == 0)
r = q;
+ errno = 0;
log_debug_errno(q, "Got result %s/%m for job %s", strna(d->result), strna(d->name));
}