common: replace container_of with a C++ safe implementation
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-syscall.cpp
index a3030bcf47e2d27aa3aea3a97de897ea66a1e594..8a4ce39ea8e6bcd6b9fbf71d9cd39f02d2f99ad1 100644 (file)
@@ -210,7 +210,7 @@ static struct syscall *lookup_syscall(struct lttng_ht *ht, const char *name)
        lttng_ht_lookup(ht, (void *) name, &iter);
        node = lttng_ht_iter_get_node_str(&iter);
        if (node) {
-               ksyscall = caa_container_of(node, struct syscall, node);
+               ksyscall = lttng::utils::container_of(node, &syscall::node);
        }
 
        return ksyscall;
This page took 0.022971 seconds and 4 git commands to generate.