mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s4:torture: Use C99 initializers for file_levels in smb2 getinfo test
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
660428a2e3
commit
0bcbec40bb
@ -36,7 +36,7 @@ static struct {
|
||||
union smb_fileinfo finfo;
|
||||
union smb_fileinfo dinfo;
|
||||
} file_levels[] = {
|
||||
#define LEVEL(x) #x, x
|
||||
#define LEVEL(x) .name = #x, .level = x
|
||||
{ LEVEL(RAW_FILEINFO_BASIC_INFORMATION) },
|
||||
{ LEVEL(RAW_FILEINFO_STANDARD_INFORMATION) },
|
||||
{ LEVEL(RAW_FILEINFO_INTERNAL_INFORMATION) },
|
||||
|
Loading…
x
Reference in New Issue
Block a user