X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Futils.cpp;h=c95b4622709570c9f313085c4dedd5c74b59dfcf;hp=4ec36f1145b79b0e02fbc4e217f2e562747dabf7;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/tests/utils/utils.cpp b/tests/utils/utils.cpp index 4ec36f114..c95b46227 100644 --- a/tests/utils/utils.cpp +++ b/tests/utils/utils.cpp @@ -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) {