Fix the LINT build.
authorSascha Wildner <saw@online.de>
Wed, 16 Dec 2009 08:21:48 +0000 (09:21 +0100)
committerSascha Wildner <saw@online.de>
Wed, 16 Dec 2009 08:21:48 +0000 (09:21 +0100)
sys/kern/uipc_syscalls.c

index 468d630..0c4b5ab 100644 (file)
@@ -1861,7 +1861,7 @@ sys_sctp_peeloff(struct sctp_peeloff_args *uap)
        short fflag;            /* type must match fp->f_flag */
 
        assoc_id = uap->name;
-       error = holdsock(p->p_fd, uap->sd, &lfp);
+       error = holdsock(td->td_proc->p_fd, uap->sd, &lfp);
        if (error)
                return (error);