summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysacls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 94f0a10d46..8045fc000c 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -442,7 +442,7 @@ char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p)
break;
case SMB_ACL_USER:
- if ((pw = getpwuid(ap->a_id)) == NULL) {
+ if ((pw = sys_getpwuid(ap->a_id)) == NULL) {
slprintf(idbuf, sizeof(idbuf)-1, "%ld",
(long)ap->a_id);
id = idbuf;
@@ -979,7 +979,7 @@ char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p)
break;
case SMB_ACL_USER:
- if ((pw = getpwuid(ap->a_id)) == NULL) {
+ if ((pw = sys_getpwuid(ap->a_id)) == NULL) {
slprintf(idbuf, sizeof(idbuf)-1, "%ld",
(long)ap->a_id);
id = idbuf;