chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: two more log_unit_*_errno() conversions
[elogind.git]
/
src
/
core
/
transaction.c
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index 652ac71094c314fafab595312807b104a8021570..d3783899997e8fef9a33b5bb47e4460c58fe18e3 100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-723,7
+723,7
@@
int transaction_activate(Transaction *tr, Manager *m, JobMode mode, sd_bus_error
/* Tenth step: apply changes */
r = transaction_apply(tr, m, mode);
if (r < 0) {
- log_warning
("Failed to apply transaction: %s", strerror(-r)
);
+ log_warning
_errno(r, "Failed to apply transaction: %m"
);
return r;
}