X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Fsessiond_testpoints.cpp;h=44e6b6e7b7a2ffee9d721aeaaa1e6ac4124b985a;hb=cd9adb8b829564212158943a0d279bb35322ab30;hp=3baea63230dcfc27cf3d85bea7d113155295ed15;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1;p=lttng-tools.git diff --git a/tests/regression/tools/notification/sessiond_testpoints.cpp b/tests/regression/tools/notification/sessiond_testpoints.cpp index 3baea6323..44e6b6e7b 100644 --- a/tests/regression/tools/notification/sessiond_testpoints.cpp +++ b/tests/regression/tools/notification/sessiond_testpoints.cpp @@ -29,7 +29,7 @@ int lttng_opt_verbose; int lttng_opt_mi; int lttng_opt_quiet; -static void __attribute__((destructor)) pause_pipe_fini(void) +static void __attribute__((destructor)) pause_pipe_fini() { int ret; @@ -56,7 +56,7 @@ int __testpoint_sessiond_thread_notification(void) goto end; } - notifier_notif_consumption_state = (int *) dlsym(NULL, "notifier_consumption_paused"); + notifier_notif_consumption_state = (int *) dlsym(nullptr, "notifier_consumption_paused"); LTTNG_ASSERT(notifier_notif_consumption_state); ret = asprintf(&pause_pipe_path, "%s", pause_pipe_path_prefix);