Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 22:08:19 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274408 - in head/sys: compat/freebsd32 kern
Message-ID:  <201411112208.sABM8Jdx039513@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411112208.sABM8Jdx039513>