From: Günther Deschner Date: Sun, 13 Apr 2008 15:32:07 +0000 (+0200) Subject: gpo: make integer debug print more readable. X-Git-Tag: samba-3.3.0pre1~2694 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5;p=thirdparty%2Fsamba.git gpo: make integer debug print more readable. Guenther --- 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",