diff options
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r-- | sys/kern/imgact_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c index 99b4c27..e0248a7 100644 --- a/sys/kern/imgact_shell.c +++ b/sys/kern/imgact_shell.c @@ -121,7 +121,7 @@ exec_shell_imgact(imgp) * valid -- the actual file might be much shorter than the page. * So find out the file size. */ - error = VOP_GETATTR(imgp->vp, &vattr, imgp->proc->p_ucred, curthread); + error = VOP_GETATTR(imgp->vp, &vattr, imgp->proc->p_ucred); if (error) return (error); |