diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-06-11 15:26:15 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-06-11 15:26:15 +0000 |
| commit | 5b7559d42a6f2161a1df5450ace4616e4efdf7ca (patch) | |
| tree | 3171ddf968422a26ca097cafc1cd3a2d03ecc8b9 /lib/libc | |
| parent | 5ad296377c282a5dda439fce64690498f7018031 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/posix1e/acl_to_text_nfs4.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/posix1e/acl_to_text_nfs4.c b/lib/libc/posix1e/acl_to_text_nfs4.c index 5d0aa319143b..2ea92d985027 100644 --- a/lib/libc/posix1e/acl_to_text_nfs4.c +++ b/lib/libc/posix1e/acl_to_text_nfs4.c @@ -50,7 +50,7 @@ format_who(char *str, size_t size, const acl_entry_t entry, int numeric) acl_tag_t tag; struct passwd *pwd; struct group *grp; - id_t *id; + uid_t *id; error = acl_get_tag_type(entry, &tag); if (error) @@ -62,7 +62,7 @@ format_who(char *str, size_t size, const acl_entry_t entry, int numeric) break; case ACL_USER: - id = (id_t *)acl_get_qualifier(entry); + id = (uid_t *)acl_get_qualifier(entry); if (id == NULL) return (-1); /* XXX: Thread-unsafe. */ @@ -81,7 +81,7 @@ format_who(char *str, size_t size, const acl_entry_t entry, int numeric) break; case ACL_GROUP: - id = (id_t *)acl_get_qualifier(entry); + id = (uid_t *)acl_get_qualifier(entry); if (id == NULL) return (-1); /* XXX: Thread-unsafe. */ @@ -141,7 +141,7 @@ format_additional_id(char *str, size_t size, const acl_entry_t entry) { int error; acl_tag_t tag; - id_t *id; + uid_t *id; error = acl_get_tag_type(entry, &tag); if (error) @@ -155,7 +155,7 @@ format_additional_id(char *str, size_t size, const acl_entry_t entry) break; default: - id = (id_t *)acl_get_qualifier(entry); + id = (uid_t *)acl_get_qualifier(entry); if (id == NULL) return (-1); snprintf(str, size, ":%d", (unsigned int)*id); |
