clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / tests / utils / utils.cpp
index 4ec36f1145b79b0e02fbc4e217f2e562747dabf7..c95b4622709570c9f313085c4dedd5c74b59dfcf 100644 (file)
@@ -99,7 +99,7 @@ int wait_on_file(const char *path)
        for (;;) {
                ret = stat(path, &buf);
                if (ret == -1 && errno == ENOENT) {
-                       ret = poll(NULL, 0, 10); /* 10 ms delay */
+                       ret = poll(nullptr, 0, 10); /* 10 ms delay */
                        /* Should return 0 everytime */
                        if (ret) {
                                if (ret < 0) {
This page took 0.023979 seconds and 4 git commands to generate.