diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-05-22 07:37:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-27 11:57:00 +1000 |
commit | cbb833d78e48953b3a04c0463f68c5370f2d4187 (patch) | |
tree | 28545abf003c769c23839a62d57b0f41540f03f1 /source3 | |
parent | d41ec68601cfca67874f78d2f64784904d1530da (diff) | |
download | samba-cbb833d78e48953b3a04c0463f68c5370f2d4187.tar.gz samba-cbb833d78e48953b3a04c0463f68c5370f2d4187.tar.bz2 samba-cbb833d78e48953b3a04c0463f68c5370f2d4187.zip |
smbd: Fix build on platforms that will not support var = {} initialisation
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/posix_acls.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 01d429f235..3b9be9d872 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -4738,7 +4738,10 @@ int posix_sys_acl_blob_get_file(vfs_handle_struct *handle, { int ret; TALLOC_CTX *frame = talloc_stackframe(); - struct smb_acl_wrapper acl_wrapper = {}; + /* Initialise this to zero, in a portable way */ + struct smb_acl_wrapper acl_wrapper = { + NULL + }; struct smb_filename *smb_fname; smb_fname = synthetic_smb_fname_split(frame, path_p, NULL); |