aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/link_elf.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/kern/link_elf.c
parent21439626472b5a6d5317cc38b361bc2368f97d93 (diff)
downloadsrc-30d239bc4c510432e65a84fa1c14ed67a3ab1c92.tar.gz
src-30d239bc4c510432e65a84fa1c14ed67a3ab1c92.zip
Notes
Diffstat (limited to 'sys/kern/link_elf.c')
-rw-r--r--sys/kern/link_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c
index 5e9480c025dc..86e69a2bc773 100644
--- a/sys/kern/link_elf.c
+++ b/sys/kern/link_elf.c
@@ -572,7 +572,7 @@ link_elf_load_file(linker_class_t cls, const char* filename,
vfslocked = NDHASGIANT(&nd);
NDFREE(&nd, NDF_ONLY_PNBUF);
#ifdef MAC
- error = mac_check_kld_load(curthread->td_ucred, nd.ni_vp);
+ error = mac_kld_check_load(curthread->td_ucred, nd.ni_vp);
if (error) {
firstpage = NULL;
goto out;