chiark / gitweb /
treewide: no need to negate errno for log_*_errno()
[elogind.git] / src / notify / notify.c
index ceb235c1fba2452dcc84346ff496bc889106d11a..5bf901ec6a28b8c22d1acf0f1cbbc5cf54efc27d 100644 (file)
@@ -193,7 +193,7 @@ int main(int argc, char* argv[]) {
 
         r = sd_pid_notify(arg_pid, false, n);
         if (r < 0) {
-                log_error_errno(-r, "Failed to notify init system: %m");
+                log_error_errno(r, "Failed to notify init system: %m");
                 goto finish;
         }