diff options
author | Matthieu Patou <mat@matws.net> | 2012-09-08 00:19:33 -0700 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2012-09-10 05:57:21 +0200 |
commit | 9eb91a5055e6201e0bd808c634a3e31c7d075f91 (patch) | |
tree | 5c782f2242ec9b1cf4bb7b2b9eefad9c3ed8719e | |
parent | f2ec75c7df5965f474a3c9444b23bcfe2818fe90 (diff) | |
download | samba-9eb91a5055e6201e0bd808c634a3e31c7d075f91.tar.gz samba-9eb91a5055e6201e0bd808c634a3e31c7d075f91.tar.bz2 samba-9eb91a5055e6201e0bd808c634a3e31c7d075f91.zip |
uid_t is a synonym for int on osX
This function is clearly osX oriented so we adapt the modifier to the
target
-rw-r--r-- | source3/smbd/sec_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c index d73dcf422e..83674a233d 100644 --- a/source3/smbd/sec_ctx.c +++ b/source3/smbd/sec_ctx.c @@ -291,7 +291,7 @@ static void set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *grou if (syscall(SYS_initgroups, (ngroups > max) ? max : ngroups, groups, uid) == -1 && !non_root_mode()) { DEBUG(0, ("WARNING: failed to set group list " - "(%d groups) for UID %ld: %s\n", + "(%d groups) for UID %d: %s\n", ngroups, uid, strerror(errno))); smb_panic("sys_setgroups failed"); } |