diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2008-08-28 15:23:18 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2008-08-28 15:23:18 +0000 |
| commit | 0359a12eadcd66a9298e283fc5f3c90a9393322a (patch) | |
| tree | 61fe2ab5660fec327061e18eda0ed8c65276f262 /sys/kern/kern_linker.c | |
| parent | 57b00b9998798e15bb18275d710ebb6cb7ed8423 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_linker.c')
| -rw-r--r-- | sys/kern/kern_linker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index a36c7be30ec1..9f322d791f69 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -1638,7 +1638,7 @@ linker_lookup_file(const char *path, int pathlen, const char *name, NDFREE(&nd, NDF_ONLY_PNBUF); type = nd.ni_vp->v_type; if (vap) - VOP_GETATTR(nd.ni_vp, vap, td->td_ucred, td); + VOP_GETATTR(nd.ni_vp, vap, td->td_ucred); VOP_UNLOCK(nd.ni_vp, 0); vn_close(nd.ni_vp, FREAD, td->td_ucred, td); VFS_UNLOCK_GIANT(vfslocked); @@ -1691,7 +1691,7 @@ linker_hints_lookup(const char *path, int pathlen, const char *modname, if (nd.ni_vp->v_type != VREG) goto bad; best = cp = NULL; - error = VOP_GETATTR(nd.ni_vp, &vattr, cred, td); + error = VOP_GETATTR(nd.ni_vp, &vattr, cred); if (error) goto bad; /* |
