SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[lttng-tools.git] / src / bin / lttng-sessiond / rotate.c
index 30ec241249e5a1020b88b63ee01845122fbb9b2a..77524ed8e8538588b0ef3cb274266e2014d4c324 100644 (file)
@@ -48,8 +48,8 @@ int subscribe_session_consumed_size_rotation(struct ltt_session *session, uint64
        enum lttng_notification_channel_status nc_status;
        struct lttng_action *action;
        const struct lttng_credentials session_creds = {
-               .uid = session->uid,
-               .gid = session->gid,
+               .uid = LTTNG_OPTIONAL_INIT_VALUE(session->uid),
+               .gid = LTTNG_OPTIONAL_INIT_VALUE(session->gid),
        };
 
        session->rotate_condition = lttng_condition_session_consumed_size_create();
This page took 0.032822 seconds and 5 git commands to generate.