svn commit: r274408 - in head/sys: compat/freebsd32 kern
Gleb Smirnoff
glebius at FreeBSD.org
Tue Nov 11 22:08:20 UTC 2014
Author: glebius
Date: Tue Nov 11 22:08:18 2014
New Revision: 274408
URL: https://svnweb.freebsd.org/changeset/base/274408
Log:
Fix build.
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
head/sys/kern/uipc_syscalls.c
Modified: head/sys/compat/freebsd32/freebsd32_misc.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_misc.c Tue Nov 11 22:03:11 2014 (r274407)
+++ head/sys/compat/freebsd32/freebsd32_misc.c Tue Nov 11 22:08:18 2014 (r274408)
@@ -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;
Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c Tue Nov 11 22:03:11 2014 (r274407)
+++ head/sys/kern/uipc_syscalls.c Tue Nov 11 22:08:18 2014 (r274408)
@@ -1940,7 +1940,7 @@ do_sendfile(struct thread *td, struct se
}
}
- AUDIT_ARG_FD(src_fd);
+ AUDIT_ARG_FD(uap->fd);
/*
* sendfile(2) can start at any offset within a file so we require
More information about the svn-src-head
mailing list