Fix: relayd: handling of lttng_read errors >= 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 3 Apr 2019 20:26:45 +0000 (16:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Apr 2019 23:36:11 +0000 (19:36 -0400)
commit7427779ecf1d251c6b25879e8cde04d741de747e
tree50c30d98003ff46c3f67c1b308ad77ba65a585b2
parent57f01363743fec27af998a2083ad8c5c0f6d7516
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>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/index/index.c
This page took 0.025774 seconds and 4 git commands to generate.