Harmonize return code conventions in context handling
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index eb0f837160edf5b533bbc822ef0e8ddd768962f4..e79455b01fb055588c7473a913f583ae9e567ad3 100644 (file)
@@ -2365,7 +2365,7 @@ int create_ust_app_channel_context(struct ust_app_session *ua_sess,
        ua_ctx = alloc_ust_app_ctx(uctx);
        if (ua_ctx == NULL) {
                /* malloc failed */
-               ret = -1;
+               ret = -ENOMEM;
                goto error;
        }
 
This page took 0.024607 seconds and 5 git commands to generate.