1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli/security - fix two output format specifiers

This commit is contained in:
Matthias Dieter Wallnöfer 2011-02-10 10:17:33 +01:00
parent 738b2abe78
commit 6bfaa4c109
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ static struct security_acl *process_user_acl(TALLOC_CTX *mem_ctx,
return NULL; return NULL;
tmp_acl->revision = acl->revision; 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); co = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_OWNER);
cg = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_GROUP); cg = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_GROUP);

View File

@ -235,7 +235,7 @@ void display_sec_acl(struct security_acl *sec_acl)
{ {
int i; 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); sec_acl->num_aces, sec_acl->revision);
printf("\t---\n"); printf("\t---\n");