summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
commit30d239bc4c510432e65a84fa1c14ed67a3ab1c92 (patch)
treefea282db79628eed98808fd38cc46445b2f97ca5 /sys/compat/linux/linux_misc.c
parent21439626472b5a6d5317cc38b361bc2368f97d93 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 01f1ceea8779..96adc6de5a23 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -301,7 +301,7 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args)
* than vn_open().
*/
#ifdef MAC
- error = mac_check_vnode_open(td->td_ucred, vp, FREAD);
+ error = mac_vnode_check_open(td->td_ucred, vp, FREAD);
if (error)
goto cleanup;
#endif