Fix: ust_app_list_events should return -ENOSYS when no UST
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 1 Jun 2012 21:01:13 +0000 (17:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 1 Jun 2012 21:01:13 +0000 (17:01 -0400)
commitdb7c0497a78cd7a5e8a5f5858efe0a5462337507
tree8c139bf8c2385a05ec6f507bbf3ef7bf8a0cbfc8
parent9719a6ccfc26a410634dbab324caa1bc2d3e835d
Fix: ust_app_list_events should return -ENOSYS when no UST

Caller thinks that memory is allocated, and incorrectly dereferences a
NULL pointer if we return 0 rather than -ENOSYS.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-sessiond/ust-app.h
This page took 0.026752 seconds and 5 git commands to generate.