Date: Sat, 1 Mar 2008 16:50:01 GMT From: "David E. O'Brien" <obrien@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 136581 for review Message-ID: <200803011650.m21Go1Sg054451@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=136581 Change 136581 by obrien@obrien_trang on 2008/03/01 16:49:20 grrr. I hate that style(9) (or really C) doesn't require {} for if's. fix logic to match intention (as shown thru indention). Affected files ... .. //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#4 edit Differences ... ==== //depot/projects/mips2-jnpr/src/lib/libthr/arch/mips/mips/pthread_md.c#4 (text+ko) ==== @@ -41,9 +41,10 @@ struct tcb *tcb; tcb = malloc(sizeof(struct tcb)); - if (tcb) + if (tcb) { bzero(tcb, sizeof(struct tcb)); tcb->tcb_thread = thread; + } return (tcb); }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011650.m21Go1Sg054451>
