summaryrefslogtreecommitdiff
path: root/lib/write.c
diff options
context:
space:
mode:
authorBenoit Dejean <bdejean@gmail.com>2015-02-28 00:20:28 +0100
committerRobert Roth <robert.roth.off@gmail.com>2015-06-26 02:57:41 +0300
commita93dc2526d3248d115c5ff9ea8ea2a4dc57e7648 (patch)
treeb63ee74e6df329e02c93d381d38043150e0f2b59 /lib/write.c
parenta3a16707b58bc9d652c179dfe615f5d93ffc1540 (diff)
downloadlibgtop-a93dc2526d3248d115c5ff9ea8ea2a4dc57e7648.tar.gz
The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.
Diffstat (limited to 'lib/write.c')
-rw-r--r--lib/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/write.c b/lib/write.c
index d11d3d7b..eb1b9b74 100644
--- a/lib/write.c
+++ b/lib/write.c
@@ -37,7 +37,7 @@ glibtop_write_l (glibtop *server, size_t size, void *buf)
if (size == 0) return;
-#ifdef DEBUG
+#ifdef LIBGTOP_ENABLE_DEBUG
fprintf (stderr, "LIBRARY: really writing %d bytes.\n", (int)size);
#endif