X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Frculfhash.c;h=efd1c4aedea734d8a19cc19b51e5c0ddcf0c1fa4;hb=3b4d308436f00a8253549f16980fd6889dfe08b1;hp=5b3c06b5a85ab6047cf133b3aea0ae1d0d955015;hpb=92fa459028138d2f36d43d57ef4321699569acd9;p=urcu.git diff --git a/src/rculfhash.c b/src/rculfhash.c index 5b3c06b..efd1c4a 100644 --- a/src/rculfhash.c +++ b/src/rculfhash.c @@ -581,6 +581,7 @@ unsigned int cds_lfht_fls_ulong(unsigned long x) * 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) @@ -2168,7 +2169,7 @@ static void cds_lfht_worker_init(struct urcu_workqueue *workqueue, 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);