diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-03-15 17:14:25 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-03-15 17:14:25 +0100 |
commit | e548ec9c24d7f05fea81910b8c7cf3fc0bd137db (patch) | |
tree | b0ba7f759d727f17969c5903a77820f5b9be6a06 /source3/lib/display_sec.c | |
parent | ec131db4f11e9d47c9bfec7654ab23720c5db713 (diff) | |
download | samba-e548ec9c24d7f05fea81910b8c7cf3fc0bd137db.tar.gz samba-e548ec9c24d7f05fea81910b8c7cf3fc0bd137db.tar.bz2 samba-e548ec9c24d7f05fea81910b8c7cf3fc0bd137db.zip |
display_sec: Remove use of samba3-specific data types.
Diffstat (limited to 'source3/lib/display_sec.c')
-rw-r--r-- | source3/lib/display_sec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/display_sec.c b/source3/lib/display_sec.c index fe1ae77edd..6edbb27f3a 100644 --- a/source3/lib/display_sec.c +++ b/source3/lib/display_sec.c @@ -24,7 +24,7 @@ convert a security permissions into a string ****************************************************************************/ -char *get_sec_mask_str(TALLOC_CTX *ctx, uint32 type) +char *get_sec_mask_str(TALLOC_CTX *ctx, uint32_t type) { char *typestr = talloc_strdup(ctx, ""); @@ -122,7 +122,7 @@ void display_sec_access(uint32_t *info) { char *mask_str = get_sec_mask_str(NULL, *info); printf("\t\tPermissions: 0x%x: %s\n", *info, mask_str ? mask_str : ""); - TALLOC_FREE(mask_str); + talloc_free(mask_str); } /**************************************************************************** @@ -238,7 +238,7 @@ void display_sec_acl(SEC_ACL *sec_acl) } } -void display_acl_type(uint16 type) +void display_acl_type(uint16_t type) { fstring typestr=""; |