The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.

This commit is contained in:
Benoit Dejean
2015-02-28 00:20:28 +01:00
committed by Robert Roth
parent a3a16707b5
commit a93dc2526d
11 changed files with 22 additions and 22 deletions

View File

@@ -33,7 +33,7 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
int fd;
glibtop_init_r (&server, 0, 0);
#ifdef DEBUG
#ifdef LIBGTOP_ENABLE_DEBUG
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
#endif