[libgtop] Display features in hex in debug message.



commit 72b4aed8f14b007361fe48aa3748eb39a534aba4
Author: Benoit Dejean <bdejean gmail com>
Date:   Sun Jul 19 22:36:05 2015 +0200

    Display features in hex in debug message.

 lib/open.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/open.c b/lib/open.c
index e9b17f4..6f0b314 100644
--- a/lib/open.c
+++ b/lib/open.c
@@ -153,7 +153,7 @@ glibtop_open_l (glibtop *server, const char *program_name,
 
                memcpy (&server->sysdeps, &sysdeps, sizeof (glibtop_sysdeps));
 
-               glibtop_debug ("Server features are %lu.",
+               glibtop_debug ("Server features are %#0lx.",
                         server->features);
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]