* Return the minimum order for which x <= (1UL << order).
* Return -1 if x is 0.
*/
+static
int cds_lfht_get_count_order_u32(uint32_t x)
{
if (!x)
urcu_die(errno);
ret = sigdelset(&mask, SIGRCU);
if (ret)
- urcu_die(ret);
+ urcu_die(errno);
ret = pthread_sigmask(SIG_SETMASK, &mask, NULL);
if (ret)
urcu_die(ret);