Fix: unknown consumer type considered a libc error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 22:45:30 +0000 (23:45 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 22:53:12 +0000 (23:53 +0100)
commitb60e718380f4a71d74bc19ffd4a2f777219c737f
treedd83b03899bd55fb9cc9a58c08eb73437f5a8e6f
parent46b23495cca0157ed2d4e607a7e4b801635eaea2
Fix: unknown consumer type considered a libc error

The PERROR() macro uses the errno variable to print an error
message. However, the consumer type being invalid is an internal
error. The value of errno, at that point, is unrelated to the
error.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.025857 seconds and 4 git commands to generate.