aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbg.h
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 21:46:37 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 21:49:35 +0530
commit99d15815f03c8fa19ee36fa7e9190d5f8be8ee7f (patch)
tree34d1ee549e837e53688b23bf9b6546b05cb7c02f /src/dbg.h
parent274c6120764f5956914e36baa115bbc3cca2e6ac (diff)
downloadnnn-99d15815f03c8fa19ee36fa7e9190d5f8be8ee7f.tar.gz
Use : for filter case
Diffstat (limited to 'src/dbg.h')
-rw-r--r--src/dbg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbg.h b/src/dbg.h
index 97d49ab..3cb0b2b 100644
--- a/src/dbg.h
+++ b/src/dbg.h
@@ -79,7 +79,7 @@ static void disabledbg(void)
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)
-#define DPRINTF_D(x) xprintf(DEBUG_FD, "ln " TOSTRING(__LINE__) ": " #x "=%d\n", x, __LINE__)
+#define DPRINTF_D(x) xprintf(DEBUG_FD, "ln " TOSTRING(__LINE__) ": " #x "=%d\n", x)
#define DPRINTF_U(x) xprintf(DEBUG_FD, "ln " TOSTRING(__LINE__) ": " #x "=%u\n", x)
#define DPRINTF_S(x) xprintf(DEBUG_FD, "ln " TOSTRING(__LINE__) ": " #x "=%s\n", x)
#define DPRINTF_P(x) xprintf(DEBUG_FD, "ln " TOSTRING(__LINE__) ": " #x "=%p\n", x)