From 3cd8c1befad6b46cb51e990de12a22aa914e0c4b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 13 Apr 2008 17:32:07 +0200 Subject: gpo: make integer debug print more readable. Guenther (This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5) --- source3/libgpo/gpo_reg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c index de4a7937ec..06ebdc444c 100644 --- a/source3/libgpo/gpo_reg.c +++ b/source3/libgpo/gpo_reg.c @@ -794,10 +794,12 @@ void dump_reg_val(int lvl, const char *direction, switch (val->type) { case REG_DWORD: - DEBUG(lvl,("%d\n", (int)val->v.dword)); + DEBUG(lvl,("%d (0x%08x)\n", + (int)val->v.dword, val->v.dword)); break; case REG_QWORD: - DEBUG(lvl,("%d\n", (int)val->v.qword)); + DEBUG(lvl,("%d (0x%016lx)\n", + (int)val->v.qword, val->v.qword)); break; case REG_SZ: DEBUG(lvl,("%s (length: %d)\n", -- cgit