summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/security/create_descriptor.c2
-rw-r--r--libcli/security/display_sec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcli/security/create_descriptor.c b/libcli/security/create_descriptor.c
index 9e348a790e..62919a19c7 100644
--- a/libcli/security/create_descriptor.c
+++ b/libcli/security/create_descriptor.c
@@ -226,7 +226,7 @@ static struct security_acl *process_user_acl(TALLOC_CTX *mem_ctx,
return NULL;
tmp_acl->revision = acl->revision;
- DEBUG(6,(__location__ ": acl revision %u\n", acl->revision));
+ DEBUG(6,(__location__ ": acl revision %d\n", acl->revision));
co = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_OWNER);
cg = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_GROUP);
diff --git a/libcli/security/display_sec.c b/libcli/security/display_sec.c
index f45b770f8c..3d60e4230d 100644
--- a/libcli/security/display_sec.c
+++ b/libcli/security/display_sec.c
@@ -235,7 +235,7 @@ void display_sec_acl(struct security_acl *sec_acl)
{
int i;
- printf("\tACL\tNum ACEs:\t%d\trevision:\t%x\n",
+ printf("\tACL\tNum ACEs:\t%u\trevision:\t%x\n",
sec_acl->num_aces, sec_acl->revision);
printf("\t---\n");