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