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

@@ -36,7 +36,7 @@ glibtop_read_data_l (glibtop *server)
glibtop_init_r (&server, 0, 0);
#ifdef DEBUG
#ifdef LIBGTOP_ENABLE_DEBUG
fprintf (stderr, "LIBRARY: reading %lu data bytes.\n",
(unsigned long) sizeof (size_t));
#endif
@@ -50,7 +50,7 @@ glibtop_read_data_l (glibtop *server)
if (ret < 0)
glibtop_error_io_r (server, _("read data size"));
#ifdef DEBUG
#ifdef LIBGTOP_ENABLE_DEBUG
fprintf (stderr, "LIBRARY: really reading %lu data bytes (ret = %d).\n",
(unsigned long) size, ret);
#endif