mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 04:22:59 -04:00
Fix build.
This commit is contained in:
parent
d971cd47f6
commit
efe28398f5
2 changed files with 3 additions and 1 deletions
|
|
@ -1570,6 +1570,8 @@ freebsd32_do_sendfile(struct thread *td,
|
|||
struct sf_hdtr32 hdtr32;
|
||||
struct sf_hdtr hdtr;
|
||||
struct uio *hdr_uio, *trl_uio;
|
||||
struct file *fp;
|
||||
cap_rights_t rights;
|
||||
struct iovec32 *iov32;
|
||||
off_t offset, sbytes;
|
||||
int error;
|
||||
|
|
|
|||
|
|
@ -1940,7 +1940,7 @@ do_sendfile(struct thread *td, struct sendfile_args *uap, int compat)
|
|||
}
|
||||
}
|
||||
|
||||
AUDIT_ARG_FD(src_fd);
|
||||
AUDIT_ARG_FD(uap->fd);
|
||||
|
||||
/*
|
||||
* sendfile(2) can start at any offset within a file so we require
|
||||
|
|
|
|||
Loading…
Reference in a new issue