diff options
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r-- | sys/kern/imgact_gzip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 5701894..66f40f6 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -158,7 +158,6 @@ static int do_aout_hdr(struct imgact_gzip * gz) { int error; - struct thread *td = curthread; struct vmspace *vmspace; vm_offset_t vmaddr; @@ -234,7 +233,7 @@ do_aout_hdr(struct imgact_gzip * gz) * However, in cases where the vnode lock is external, such as nullfs, * v_usecount may become zero. */ - VOP_UNLOCK(gz->ip->vp, 0, td); + VOP_UNLOCK(gz->ip->vp, 0); /* * Destroy old process VM and create a new one (with a new stack) |