From: Mathieu Desnoyers Date: Fri, 1 Jun 2012 21:01:13 +0000 (-0400) Subject: Fix: ust_app_list_events should return -ENOSYS when no UST X-Git-Tag: v2.1.0-rc1~119 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=db7c0497a78cd7a5e8a5f5858efe0a5462337507;hp=db7c0497a78cd7a5e8a5f5858efe0a5462337507;ds=sidebyside 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 ---