~lttng/urcu/trunk

Viewing all changes in revision 1282.

  • Committer: Mathieu Desnoyers
  • Date: 2019-09-19 14:10:31 UTC
  • Revision ID: git-v1:9fd30396a597942084b007f33cc7f2c279f746e9
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: