1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-31 05:47:30 +03:00

ptyfwd: fix wrong userdata passed to PTY forwarding

Fixes #35942.
This commit is contained in:
Yu Watanabe 2025-01-15 19:23:49 +09:00 committed by Lennart Poettering
parent b5a6f4c05b
commit 346ed75198

View File

@ -185,7 +185,7 @@ static int run(int argc, char *argv[]) {
return log_error_errno(r, "Failed to set title: %m");
}
pty_forward_set_handler(forward, pty_forward_handler, &event);
pty_forward_set_handler(forward, pty_forward_handler, event);
r = pidref_safe_fork_full(
"(sd-ptyfwd)",