Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 12:36:15 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r184558 - head/sys/dev/acpica/Osd
Message-ID:  <200811031236.18143.jkim@FreeBSD.org>
In-Reply-To: <200811031226.46956.jkim@FreeBSD.org>
References:  <200811021250.mA2CoGs1038957@svn.freebsd.org> <490F21FC.1020508@FreeBSD.org> <200811031226.46956.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811031236.18143.jkim>