Convert lots of fprintf(stderr, ...) to glibtop_debug*().

This commit is contained in:
Benoit Dejean
2015-06-21 22:39:11 +02:00
parent 887092a05d
commit 172f0a50ba
10 changed files with 22 additions and 65 deletions

View File

@@ -33,9 +33,7 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
int fd;
glibtop_init_r (&server, 0, 0);
#ifdef LIBGTOP_ENABLE_DEBUG
glibtop_warn_r(server, "LIBRARY: really reading %d bytes.\n", (int)size);
#endif
glibtop_debug("LIBRARY: really reading %d bytes.", (int)size);
fd = server->socket ? server->socket : server->input[0];