Fix obvious typo, that lead to incorrect sorting.
Found by: PVS-Studio
This commit is contained in:
parent
24183025a5
commit
cd82d21b2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295766
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user