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:34:15 +0000 (19:34 -0400)
commitdaf6815021db8436946d02512716bc57fb3c5040
treea823af93755e7187fd2c3f8edbabba75bbc12252
parent13c556223508c8d6c12443cda9c3fde67eb35943
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.025433 seconds and 4 git commands to generate.