summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-13 17:32:07 +0200
committerGünther Deschner <gd@samba.org>2008-04-13 17:39:28 +0200
commit3cd8c1befad6b46cb51e990de12a22aa914e0c4b (patch)
tree25fa08da536104ac6238a1562e9fa882e78f2c44
parent282c9ff8ae0cdb472bd8c76822c83fe900d75e59 (diff)
downloadsamba-3cd8c1befad6b46cb51e990de12a22aa914e0c4b.tar.gz
samba-3cd8c1befad6b46cb51e990de12a22aa914e0c4b.tar.bz2
samba-3cd8c1befad6b46cb51e990de12a22aa914e0c4b.zip
gpo: make integer debug print more readable.
Guenther (This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)
-rw-r--r--source3/libgpo/gpo_reg.c6
1 files 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",