diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-07-15 06:29:42 -0400 |
---|---|---|
committer | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-07-15 09:27:14 -0400 |
commit | 119227381efe1938a64bea510604697b2690db91 (patch) | |
tree | 570bef4695bdc50c18a35d5c4dabc9fde607b8fe /lib/common.h | |
parent | 6f6bd35f058bc6a0ea576f564872c569e32130c1 (diff) | |
download | libvfio-user-119227381efe1938a64bea510604697b2690db91.zip libvfio-user-119227381efe1938a64bea510604697b2690db91.tar.gz libvfio-user-119227381efe1938a64bea510604697b2690db91.tar.bz2 |
fix verbose logging
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/common.h')
-rw-r--r-- | lib/common.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/common.h b/lib/common.h index 27d6735..b7b5a76 100644 --- a/lib/common.h +++ b/lib/common.h @@ -51,12 +51,11 @@ void lm_log(lm_ctx_t *lm_ctx, lm_log_lvl_t lvl, const char *fmt, ...); -#ifdef DEBUG +#ifdef LM_VERBOSE_LOGGING void -dump_buffer(lm_ctx_t *lm_ctx, const char *prefix, - const char *buf, uint32_t count); +dump_buffer(const char *prefix, const char *buf, uint32_t count); #else -#define dump_buffer(lm_ctx, prefix, buf, count) +#define dump_buffer(prefix, buf, count) #endif #endif /* __COMMON_H__ */ |