diff options
Diffstat (limited to 'src/vppinfra/dlmalloc.c')
-rw-r--r-- | src/vppinfra/dlmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/dlmalloc.c b/src/vppinfra/dlmalloc.c index 8acea8bc2bf..2199d876e91 100644 --- a/src/vppinfra/dlmalloc.c +++ b/src/vppinfra/dlmalloc.c @@ -4133,7 +4133,7 @@ int mspace_enable_disable_trace (mspace msp, int enable) mstate ms = (mstate)msp; int was_enabled = 0; - if (use_trace(ms) == 1) + if (use_trace(ms)) was_enabled = 1; if (enable) |