Fix: relayd: handling of lttng_read errors >= 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Apr 2019 19:46:25 +0000 (15:46 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Apr 2019 23:36:37 +0000 (19:36 -0400)
commit6dabdfa2f97ccfd101bd119bd1ab637ddb20e22f
treeafa38d5573f173cfa99c03a24e4f58571a501619
parent2b5f1a27dceffd016755c0a62c9686c3b61f6aaa
Fix: relayd: handling of lttng_read errors >= 0

errno is only set when lttng_read returns a negative value. Else, we
need to print a ERR() statement rather than use PERROR().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/index/index.c
This page took 0.027096 seconds and 5 git commands to generate.