Fix: provide errno as argument to urcu_die()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 Sep 2019 14:10:31 +0000 (10:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 Sep 2019 14:12:19 +0000 (10:12 -0400)
commit0365417a42044c072f363d29a0459ed3ad3ba143
treee7dc8cd4847f952648589c18a61a37bc7d7607fd
parent92fa459028138d2f36d43d57ef4321699569acd9
Fix: provide errno as argument to urcu_die()

commit 1a990de3add "Fix: rculfhash worker needs to unblock to SIGRCU"
provides "ret" (-1) as argument to urcu_die(), but should rather provide
errno.

Reported by Coverity:

** CID 1405700:  Error handling issues  (NEGATIVE_RETURNS) /src/rculfhash.c: 2171 in cds_lfht_worker_init()

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/rculfhash.c
This page took 0.024954 seconds and 4 git commands to generate.