summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/getinfo.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-12-13 13:42:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-28 10:29:25 +0100
commit0bcbec40bbab1d7bb8fcc94a7321f3dba17b18db (patch)
tree90a6f23b543b11fee31105871e2e3f949d81d70c /source4/torture/smb2/getinfo.c
parent660428a2e3ffec807ad003594054a5cc29e8fbfb (diff)
downloadsamba-0bcbec40bbab1d7bb8fcc94a7321f3dba17b18db.tar.gz
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>
Diffstat (limited to 'source4/torture/smb2/getinfo.c')
-rw-r--r--source4/torture/smb2/getinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c
index f6ef0a55103..d2307ab20a1 100644
--- a/source4/torture/smb2/getinfo.c
+++ b/source4/torture/smb2/getinfo.c
@@ -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) },