diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-16 20:01:01 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-16 20:01:01 +0000 |
| commit | baec3daef10ceedecb2b01d7102d4bcc93bb0214 (patch) | |
| tree | 7d78ffcbe0e354deb080c13e3b3d7b197bdeb90e /sys/compat/linux/linux_file.c | |
| parent | 80a3127a7276d6a4966b33648116198d564f93cb (diff) | |
| parent | 1272c4aad259a186aa9724f0f8e0d7fe7a4c5e85 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 9251a20abad1..1e5e37a2db76 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -348,8 +348,7 @@ getdents_common(struct thread *td, struct linux_getdents64_args *args, } else justone = 0; - error = getvnode(td->td_proc->p_fd, args->fd, - cap_rights_init(&rights, CAP_READ), &fp); + error = getvnode(td, args->fd, cap_rights_init(&rights, CAP_READ), &fp); if (error != 0) return (error); |
