Rename sessiond internal "uid" fields to "id"
[lttng-tools.git] / lttng-sessiond / main.c
index 25a8ca76bbcb771b8ec309708534ccfddeb03c49..759b276a650e546e8447e1fd8f6b8442969839af 100644 (file)
@@ -469,7 +469,7 @@ static void cleanup(void)
        close(thread_quit_pipe[1]);
 
        /* <fun> */
-       MSG("%c[%d;%dm*** assert failed :-) *** ==> %c[%dm%c[%d;%dm"
+       DBG("%c[%d;%dm*** assert failed :-) *** ==> %c[%dm%c[%d;%dm"
                        "Matthew, BEET driven development works!%c[%dm",
                        27, 1, 31, 27, 0, 27, 1, 33, 27, 0);
        /* </fun> */
@@ -1874,7 +1874,6 @@ static int create_ust_session(struct ltt_session *session,
                struct lttng_domain *domain, struct ucred *creds)
 {
        int ret;
-       unsigned int sess_uid;
        gid_t gid;
        struct ltt_ust_session *lus = NULL;
 
@@ -1888,8 +1887,7 @@ static int create_ust_session(struct ltt_session *session,
 
        DBG("Creating UST session");
 
-       sess_uid = session->uid;
-       lus = trace_ust_create_session(session->path, sess_uid, domain);
+       lus = trace_ust_create_session(session->path, session->id, domain);
        if (lus == NULL) {
                ret = LTTCOMM_UST_SESS_FAIL;
                goto error;
This page took 0.023652 seconds and 4 git commands to generate.