- lttng_rotation_schedule_attr_set_size(rotation_attr, rotation_size);
- ret = lttng_rotation_set_schedule(rotation_attr);
+ lttng_rotation_schedule_attr_set_size(rotation_attr,
+ rotation_size);
+ ret = lttng_rotation_set_schedule((const char *) name,
+ rotation_attr);