X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Frotate.c;h=e2a4c509ae6464ce04cd6c182fd789a9d02692d1;hp=312bbba9ccbf982a9f1a9ff65e592365ea276f3f;hb=d295668767ac8234e83984e1812d342d03293d88;hpb=fb9a95c4d6242bd8336b638c90a7d8f846125659 diff --git a/src/bin/lttng/commands/rotate.c b/src/bin/lttng/commands/rotate.c index 312bbba9c..e2a4c509a 100644 --- a/src/bin/lttng/commands/rotate.c +++ b/src/bin/lttng/commands/rotate.c @@ -193,6 +193,7 @@ static int rotate_tracing(char *session_name) rotation_status = lttng_rotation_handle_get_state(handle, &rotation_state); if (rotation_status != LTTNG_ROTATION_STATUS_OK) { + MSG(""); ERR("Failed to query the state of the rotation."); goto error; } @@ -200,14 +201,14 @@ static int rotate_tracing(char *session_name) if (rotation_state == LTTNG_ROTATION_STATE_ONGOING) { ret = usleep(DEFAULT_DATA_AVAILABILITY_WAIT_TIME); if (ret) { - PERROR("usleep"); + PERROR("\nusleep"); goto error; } _MSG("."); ret = fflush(stdout); if (ret) { - PERROR("fflush"); + PERROR("\nfflush"); goto error; } }