diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-22 07:43:53 +0000 |
| commit | 1f3dad5a8dc1e0d17f6f7924552eaf718b255e44 (patch) | |
| tree | 283999b082c94c12b3962535722ff43fa3b41aa0 /sys/compat/linux/linux_file.c | |
| parent | 55054f3540ce0039fb89e6876616b869a8f2038c (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index b851d29db37c..8bdb3a7c5c23 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -25,12 +25,12 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_file.c,v 1.2 1995/08/28 00:50:08 swallace Exp $ + * $Id: linux_file.c,v 1.3 1995/10/10 23:13:27 swallace Exp $ */ -#include <i386/linux/linux.h> #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/fcntl.h> #include <sys/file.h> #include <sys/filedesc.h> @@ -41,9 +41,11 @@ #include <sys/malloc.h> #include <sys/exec.h> #include <sys/dirent.h> -#include <vm/vm.h> + #include <ufs/ufs/dir.h> +#include <i386/linux/linux.h> +#include <i386/linux/sysproto.h> struct linux_creat_args { char *path; @@ -386,7 +388,8 @@ again: auio.uio_resid = buflen; auio.uio_offset = off - (off_t)blockoff; - error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, 0, 0); + error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, (int *) NULL, + (u_int **) NULL); if (error) { goto out; } |
