diff options
author | Günther Deschner <gd@samba.org> | 2008-04-13 17:32:07 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-13 17:39:28 +0200 |
commit | b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5 (patch) | |
tree | ed6798a640707376cfecbad71f7d7cf3f9a4ce5e /source/libgpo/gpo_reg.c | |
parent | c2d9baa29edb2356f32ca19aea828184e9ac7b93 (diff) | |
download | samba-b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5.tar.gz samba-b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5.tar.xz samba-b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5.zip |
gpo: make integer debug print more readable.
Guenther
Diffstat (limited to 'source/libgpo/gpo_reg.c')
-rw-r--r-- | source/libgpo/gpo_reg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/libgpo/gpo_reg.c b/source/libgpo/gpo_reg.c index de4a7937ecf..06ebdc444c6 100644 --- a/source/libgpo/gpo_reg.c +++ b/source/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", |