mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Fix build.
This commit is contained in:
parent
d971cd47f6
commit
efe28398f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274408
@ -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 New Issue
Block a user