Fix: incorrect time unit used when waiting on destruction handle
[lttng-tools.git] / src / bin / lttng / commands / rotate.c
index ab31546f9372e29bd63077077635bc30995f11a4..e1ed0eb7c56d983ca377b82451c8d397c07aa86e 100644 (file)
@@ -104,7 +104,7 @@ static int rotate_tracing(char *session_name)
                }
 
                if (rotation_state == LTTNG_ROTATION_STATE_ONGOING) {
-                       ret = usleep(DEFAULT_DATA_AVAILABILITY_WAIT_TIME);
+                       ret = usleep(DEFAULT_DATA_AVAILABILITY_WAIT_TIME_US);
                        if (ret) {
                                PERROR("\nusleep");
                                goto error;
This page took 0.02417 seconds and 5 git commands to generate.