summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-03-21 11:15:48 -0400
committerDave Barach <openvpp@barachs.net>2020-03-30 14:52:59 +0000
commit88e47b0e476d40636f165dd55fc0c5f0542f81b9 (patch)
treec05dd2eeeea8c0d4b031474e886dee3f19578042 /src
parent892cc729f8a6cfddeb381ed18bbbd4e742e2a6d5 (diff)
vppinfra: fix typo in dlmalloc.c
Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Idc567717494b4c40c307f20a40d5e10cd26b0a46 (cherry picked from commit 6e6968f06435727e6887abef4669715c9e59de6b)
Diffstat (limited to 'src')
-rw-r--r--src/vppinfra/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/dlmalloc.c b/src/vppinfra/dlmalloc.c
index 524c57b210b..84633c4989e 100644
--- a/src/vppinfra/dlmalloc.c
+++ b/src/vppinfra/dlmalloc.c
@@ -1247,7 +1247,7 @@ static struct malloc_state _gm_;
#define disable_expand(M) ((M)->mflags |= USE_NOEXPAND_BIT)
#define use_trace(M) ((M)->mflags & USE_TRACE_BIT)
#define enable_trace(M) ((M)->mflags |= USE_TRACE_BIT)
-#define disable_trace(M) ((M)->mflags |= USE_TRACE_BIT)
+#define disable_trace(M) ((M)->mflags &= ~USE_TRACE_BIT)
#define set_lock(M,L)\
((M)->mflags = (L)?\