X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.cpp;fp=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.cpp;h=d3a97ce843f5bd860a8967c2ac9a64bd3ee0e631;hp=5d66acec4e73c9299a37b17fa1c649ce264118a5;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/src/common/kernel-ctl/kernel-ctl.cpp b/src/common/kernel-ctl/kernel-ctl.cpp index 5d66acec4..d3a97ce84 100644 --- a/src/common/kernel-ctl/kernel-ctl.cpp +++ b/src/common/kernel-ctl/kernel-ctl.cpp @@ -155,7 +155,7 @@ int kernctl_create_channel(int fd, struct lttng_channel_attr *chops) int kernctl_syscall_mask(int fd, char **syscall_mask, uint32_t *nr_bits) { - struct lttng_kernel_abi_syscall_mask kmask_len, *kmask = NULL; + struct lttng_kernel_abi_syscall_mask kmask_len, *kmask = nullptr; size_t array_alloc_len; char *new_mask; int ret = 0;