diff options
author | Benoit Dejean <bdejean@gmail.com> | 2015-02-28 00:20:28 +0100 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2015-06-26 02:57:41 +0300 |
commit | a93dc2526d3248d115c5ff9ea8ea2a4dc57e7648 (patch) | |
tree | b63ee74e6df329e02c93d381d38043150e0f2b59 /lib/read_data.c | |
parent | a3a16707b58bc9d652c179dfe615f5d93ffc1540 (diff) | |
download | libgtop-a93dc2526d3248d115c5ff9ea8ea2a4dc57e7648.tar.gz |
The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.
Diffstat (limited to 'lib/read_data.c')
-rw-r--r-- | lib/read_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/read_data.c b/lib/read_data.c index e089b981..95880647 100644 --- a/lib/read_data.c +++ b/lib/read_data.c @@ -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 |