xz: Fix Capsicum sandbox compile error.

user_abort_pipe[] was still being used instead of the parameters.
This commit is contained in:
Jia Tan 2024-02-23 20:27:15 +08:00
parent 32b0a3ce19
commit eea78216d2
1 changed files with 2 additions and 2 deletions

View File

@ -330,11 +330,11 @@ sandbox_enable_strict_if_allowed(
CAP_WRITE))) CAP_WRITE)))
goto error; goto error;
if (cap_rights_limit(user_abort_pipe[0], cap_rights_init(&rights, if (cap_rights_limit(pipe_event_fd, cap_rights_init(&rights,
CAP_EVENT))) CAP_EVENT)))
goto error; goto error;
if (cap_rights_limit(user_abort_pipe[1], cap_rights_init(&rights, if (cap_rights_limit(pipe_write_fd, cap_rights_init(&rights,
CAP_WRITE))) CAP_WRITE)))
goto error; goto error;