svn commit: r184558 - head/sys/dev/acpica/Osd

Jung-uk Kim jkim at FreeBSD.org
Mon Nov 3 09:36:31 PST 2008


On Monday 03 November 2008 12:26 pm, Jung-uk Kim wrote:
> On top of that:
>
>     /* Returning 0 is not allowed. */
>     return (curthread->td_tid + 1);
>
> may actually return 0 because it can be INT_MAX. :-)

Sorry, it was just my stupidity.  I meant td_tid itself cannot be 0, 
so + 1 should be removed. :-(

Jung-uk Kim


More information about the svn-src-head mailing list