gpo: make integer debug print more readable.
authorGünther Deschner <gd@samba.org>
Sun, 13 Apr 2008 15:32:07 +0000 (17:32 +0200)
committerGünther Deschner <gd@samba.org>
Sun, 13 Apr 2008 15:39:28 +0000 (17:39 +0200)
Guenther
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)

source3/libgpo/gpo_reg.c

index de4a7937ecf7db7bc20c539a8f4b583aa7891a14..06ebdc444c6d01d4bbe1f835839503459dcd0ea0 100644 (file)
@@ -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",