X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;fp=src%2Fcore%2Ftransaction.c;h=d3783899997e8fef9a33b5bb47e4460c58fe18e3;hb=da927ba997d68401563b927f92e6e40e021a8e5c;hp=118a242e6e4bb4ccf8ace057509afebcffe89511;hpb=0a1beeb64207eaa88ab9236787b1cbc2f704ae14;p=elogind.git diff --git a/src/core/transaction.c b/src/core/transaction.c index 118a242e6..d37838999 100644 --- 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_errno(-r, "Failed to apply transaction: %m"); + log_warning_errno(r, "Failed to apply transaction: %m"); return r; }