git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a71d61
)
nfs4_acls: Use C99 initializer instead of ZERO_STRUCTP for params struct
author
Christof Schmitt
<cs@samba.org>
Tue, 9 Jul 2019 21:41:01 +0000
(14:41 -0700)
committer
Christof Schmitt
<cs@samba.org>
Tue, 23 Jul 2019 18:27:28 +0000
(18:27 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/nfs4_acls.c
patch
|
blob
|
history
diff --git
a/source3/modules/nfs4_acls.c
b/source3/modules/nfs4_acls.c
index bec7cc390d39f9321ccec4608a5a5d79268ba3c9..46b69ac3d826c8dad908595ad6ad4eef66328673 100644
(file)
--- a/
source3/modules/nfs4_acls.c
+++ b/
source3/modules/nfs4_acls.c
@@
-72,7
+72,7
@@
int smbacl4_get_vfs_params(struct connection_struct *conn,
};
int enumval;
-
ZERO_STRUCTP(params)
;
+
*params = (struct smbacl4_vfs_params) { 0 }
;
enumval = lp_parm_enum(SNUM(conn), SMBACL4_PARAM_TYPE_NAME, "mode",
enum_smbacl4_modes, e_simple);