Instead of explicitly initializing "fp" to NULL in kern_sendfile(),
authorJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 12 Jan 2005 08:08:09 +0000 (08:08 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 12 Jan 2005 08:08:09 +0000 (08:08 +0000)
commit7db4334c4bf16e36a5e60855bc3249054e31a26c
tree243bf324b79162285585d9a83043c719f05400e0
parentbec878d2165e9424e874c305456cd2be0bec151c
Instead of explicitly initializing "fp" to NULL in kern_sendfile(),
fix holdsock() so it correctly always initializes "fp" or NULLs it.

Approved by: Joerg Sonnenberger <joerg@dragonflybsd.org>
sys/kern/uipc_syscalls.c