Fix obvious typo, that lead to incorrect sorting.

Found by:	PVS-Studio
This commit is contained in:
Gleb Smirnoff 2016-02-18 19:05:30 +00:00
parent 24183025a5
commit cd82d21b2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295766

View File

@ -2890,7 +2890,7 @@ compare_sh(const void *_a, const void *_b)
if ((uintptr_t)a->handler < (uintptr_t)b->handler)
return (-1);
else if ((uintptr_t)b->handler > (uintptr_t)b->handler)
else if ((uintptr_t)a->handler > (uintptr_t)b->handler)
return (1);
return (0);