X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Frotate.c;h=1e4677ffd18bb4503dd6b64f295536fe24e4c327;hb=66ea93b10c703e1b3dda1e17109eed9138e4ece2;hp=68bc59a33bf59037cd827a694637a530f5724c06;hpb=dbd512ea8aa5349849aeeccda6130aa9e28cf23c;p=lttng-tools.git diff --git a/src/bin/lttng/commands/rotate.c b/src/bin/lttng/commands/rotate.c index 68bc59a33..1e4677ffd 100644 --- a/src/bin/lttng/commands/rotate.c +++ b/src/bin/lttng/commands/rotate.c @@ -377,7 +377,7 @@ int cmd_rotate(int argc, const char **argv) /* Open rotations element */ ret = mi_lttng_writer_open_element(writer, - mi_lttng_element_rotations); + mi_lttng_element_rotation_schedules); if (ret) { goto end; } @@ -391,12 +391,12 @@ int cmd_rotate(int argc, const char **argv) /* Mi closing */ if (lttng_opt_mi) { - /* Close rotations element */ + /* Close rotations element */ ret = mi_lttng_writer_close_element(writer); if (ret) { goto end; } - /* Close output element */ + /* Close output element */ ret = mi_lttng_writer_close_element(writer); if (ret) { goto end;