summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb19cb1)
Actually use the variable containing the return code of bus_process_wait when
printing the error message as a result of it failing.
while (!set_isempty(s)) {
q = bus_process_wait(bus);
if (q < 0) {
while (!set_isempty(s)) {
q = bus_process_wait(bus);
if (q < 0) {
- log_error("Failed to wait for response: %s", strerror(-r));
+ log_error("Failed to wait for response: %s", strerror(-q));