diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-10 10:17:33 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-15 11:19:37 +0100 |
commit | 6bfaa4c10903dc5ccbad5729cba48cdf4cc41b79 (patch) | |
tree | 263291ea3ef183c54ba692a079e96a1555efdb0a | |
parent | 738b2abe784bc38bdaf1abc913a401e0e732e188 (diff) | |
download | samba-6bfaa4c10903dc5ccbad5729cba48cdf4cc41b79.tar.gz |
libcli/security - fix two output format specifiers
-rw-r--r-- | libcli/security/create_descriptor.c | 2 | ||||
-rw-r--r-- | libcli/security/display_sec.c | 2 |
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"); |