Date: Mon, 29 Apr 2002 05:34:59 -0700 (PDT) From: David Wolfskill <david@catwhisker.org> To: stable@FreeBSD.org Cc: asmodai@FreeBSD.org Subject: Minor fix for sys/kern/kern_descrip.c rev. 1.81.2.13 Message-ID: <200204291234.g3TCYxlL073923@bunrab.catwhisker.org>
next in thread | raw e-mail | index | archive | help
I find that this patch: Index: sys/kern/kern_descrip.c =================================================================== RCS file: /cvs/freebsd/src/sys/kern/kern_descrip.c,v retrieving revision 1.81.2.13 diff -u -r1.81.2.13 kern_descrip.c --- sys/kern/kern_descrip.c 29 Apr 2002 08:22:00 -0000 1.81.2.13 +++ sys/kern/kern_descrip.c 29 Apr 2002 12:29:24 -0000 @@ -236,7 +236,7 @@ return (do_dup(fdp, uap->fd, i, p->p_retval, p)); case F_GETFD: - td->td_retval[0] = (*pop & UF_EXCLOSE) ? FD_CLOEXEC : 0; + p->p_retval[0] = (*pop & UF_EXCLOSE) ? FD_CLOEXEC : 0; return (0); case F_SETFD: fixes a -STABLE kernel build. Complaint was: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/kern/kern_descrip.c /usr/src/sys/kern/kern_descrip.c: In function `fcntl': /usr/src/sys/kern/kern_descrip.c:239: `td' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:239: (Each undeclared identifier is reported only once /usr/src/sys/kern/kern_descrip.c:239: for each function it appears in.) *** Error code 1 Cheers, david -- David H. Wolfskill david@catwhisker.org Microsoft products -- for those times when reliability just doesn't matter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204291234.g3TCYxlL073923>