Fix: rculfhash: urcu_die() takes positive error value
[urcu.git] / src / rculfhash.c
index 37fbc1b7c44c1ef5bcd347b19b7ef3a483d6c016..b45641524ec4a8d78f9244d1adfe886e98e19bda 100644 (file)
@@ -1931,7 +1931,7 @@ void do_auto_resize_destroy_cb(struct urcu_work *work)
        ht->flavor->register_thread();
        ret = cds_lfht_delete_bucket(ht);
        if (ret)
-               urcu_die(ret);
+               urcu_die(-ret);
        free_split_items_count(ht);
        ret = pthread_mutex_destroy(&ht->resize_mutex);
        if (ret)
This page took 0.022735 seconds and 4 git commands to generate.