chiark / gitweb /
treewide: no need to negate errno for log_*_errno()
[elogind.git] / src / core / transaction.c
index 118a242e6e4bb4ccf8ace057509afebcffe89511..d3783899997e8fef9a33b5bb47e4460c58fe18e3 100644 (file)
@@ -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;
         }