summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-05-07 15:48:16 +0200
committerMichael Adam <obnox@samba.org>2012-06-26 19:57:18 +0200
commitcc052d0c7784a184b7d52ca08adc0bdf6d820420 (patch)
tree654f63c45ba770286aa374512eaec5c6332639ea /source3/utils
parent55ce9e1fa9fb9641200e9b86ad1142dd9cdf4262 (diff)
downloadsamba-cc052d0c7784a184b7d52ca08adc0bdf6d820420.tar.gz
samba-cc052d0c7784a184b7d52ca08adc0bdf6d820420.tar.bz2
samba-cc052d0c7784a184b7d52ca08adc0bdf6d820420.zip
s3:net registry: fix output of dwords with sign bit set
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_registry_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_registry_util.c b/source3/utils/net_registry_util.c
index 22cb3a55b1..2020a0a473 100644
--- a/source3/utils/net_registry_util.c
+++ b/source3/utils/net_registry_util.c
@@ -58,7 +58,7 @@ void print_registry_value(const struct registry_value *valvalue, bool raw)
if (!raw) {
d_printf(_("Value = "));
}
- d_printf("%d\n", v);
+ d_printf("%u\n", v);
break;
}
case REG_SZ: