mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
journal-remote-main: pass the right error variable
This commit is contained in:
@@ -108,7 +108,7 @@ static int spawn_child(const char* child, char** argv) {
|
||||
|
||||
r = fd_nonblock(fd[0], true);
|
||||
if (r < 0)
|
||||
log_warning_errno(errno, "Failed to set child pipe to non-blocking: %m");
|
||||
log_warning_errno(r, "Failed to set child pipe to non-blocking: %m");
|
||||
|
||||
return fd[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user