Fix: error.h: add missing parenthesis around macro parameter
[lttng-tools.git] / src / common / utils.c
index 901ddb036771d77ff7ab1c2f723c98db7f895bbb..1e52ae0aa073640a34f8b035376bb6b5119d5660 100644 (file)
@@ -854,6 +854,7 @@ int utils_rotate_stream_file(char *path_name, char *file_name, uint64_t size,
                PERROR("Closing tracefile");
                goto error;
        }
+       *stream_fd = -1;
 
        if (count > 0) {
                /*
This page took 0.023822 seconds and 4 git commands to generate.