clang-tidy: apply suggested fixes
[lttng-tools.git] / src / bin / lttng / commands / create.cpp
index e1756c3d30a30c4449a641e5548391f58da9413e..189d7c2a0c719b4abf726d0c39a39c29cf0edfec 100644 (file)
@@ -523,7 +523,7 @@ static int spawn_sessiond(const char *pathname)
                 */
                for (;;) {
                        int status;
-                       pid_t wait_pid_ret = waitpid(pid, &status, 0);
+                       const pid_t wait_pid_ret = waitpid(pid, &status, 0);
 
                        if (wait_pid_ret < 0) {
                                if (errno == EINTR) {
This page took 0.022957 seconds and 4 git commands to generate.