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)
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>

No differences found
This page took 0.026439 seconds and 5 git commands to generate.