Fix: ust_app_list_events should return -ENOSYS when no UST
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 88539879af086767e418090afcb08c6d332a1617..5d8485f3b208608c9968b5fd419ecbb65606b0e8 100644 (file)
@@ -202,7 +202,7 @@ int ust_app_stop_trace_all(struct ltt_ust_session *usess)
 static inline
 int ust_app_list_events(struct lttng_event **events)
 {
-       return 0;
+       return -ENOSYS;
 }
 static inline
 int ust_app_register(struct ust_register_msg *msg, int sock)
This page took 0.023048 seconds and 4 git commands to generate.