summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_create.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-08 03:26:21 +0000
committerpfg <pfg@FreeBSD.org>2016-04-08 03:26:21 +0000
commit99e1acfb71cd0afb9426daa85e3e274c091a9bb0 (patch)
treebfb1f35bd80a2b2b617d0e8e0a666fa55c1b1b45 /lib/libthr/thread/thr_create.c
parentb11db0106389f678ff146b18f3526adb1b9675cd (diff)
downloadFreeBSD-src-99e1acfb71cd0afb9426daa85e3e274c091a9bb0.zip
FreeBSD-src-99e1acfb71cd0afb9426daa85e3e274c091a9bb0.tar.gz
audit(8): leave unsigned comparison for last.
aq64_minfree is unsigned so comparing to find out if it is less than zero is a nonsense. Move the comparison to the last position as we don't want to spend time if any of the others triggers first. hile it would be tempting to just remove it, it may be important to keep it for portability with platforms where may be signed(?) or in case we may want to change it in the future.
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud