chiark / gitweb /
treewide: no need to negate errno for log_*_errno()
[elogind.git] / src / hostname / hostnamectl.c
index abbd787d2bcbdf9c6958253c9a3a4364bd7480c9..1026e195dc9e88072373c700c8ef54c32a1d9838 100644 (file)
@@ -529,7 +529,7 @@ int main(int argc, char *argv[]) {
 
         r = bus_open_transport(arg_transport, arg_host, false, &bus);
         if (r < 0) {
-                log_error_errno(-r, "Failed to create bus connection: %m");
+                log_error_errno(r, "Failed to create bus connection: %m");
                 goto finish;
         }