summaryrefslogtreecommitdiffstats
path: root/src/tracing/tracing-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracing/tracing-common.h')
-rw-r--r--src/tracing/tracing-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracing/tracing-common.h b/src/tracing/tracing-common.h
index 3e07f9de8e8..03449ab5886 100644
--- a/src/tracing/tracing-common.h
+++ b/src/tracing/tracing-common.h
@@ -21,7 +21,7 @@
// type should be an integer type
// val should have type type*
#define ceph_ctf_integerp(type, field, val) \
- ctf_integer(type, field, (val) == NULL ? 0 : (val)) \
+ ctf_integer(type, field, (val) == NULL ? 0 : *(val)) \
ctf_integer(uint8_t, field##_isnull, (val) == NULL)
// val should have type char*