[libgtop] Use glibtop_warn_r instead of fprintf.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Use glibtop_warn_r instead of fprintf.
- Date: Thu, 25 Jun 2015 23:59:16 +0000 (UTC)
commit 16f262985dafa27e7ff83f95a04dbb935433eeb6
Author: Benoit Dejean <bdejean gmail com>
Date: Sun Jun 21 15:13:01 2015 +0200
Use glibtop_warn_r instead of fprintf.
lib/read.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/read.c b/lib/read.c
index fb2ca49..477eea3 100644
--- a/lib/read.c
+++ b/lib/read.c
@@ -34,7 +34,7 @@ glibtop_read_l (glibtop *server, size_t size, void *buf)
glibtop_init_r (&server, 0, 0);
#ifdef LIBGTOP_ENABLE_DEBUG
- fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
+ glibtop_warn_r(server, "LIBRARY: really reading %d bytes.\n", (int)size);
#endif
fd = server->socket ? server->socket : server->input[0];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]