summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/unix/unix_info2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/unix/unix_info2.c b/source4/torture/unix/unix_info2.c
index 8c642c1d8d..9bbeddb4a3 100644
--- a/source4/torture/unix/unix_info2.c
+++ b/source4/torture/unix/unix_info2.c
@@ -99,6 +99,7 @@ static NTSTATUS set_path_info2(void *mem_ctx,
{
union smb_setfileinfo sfinfo;
+ ZERO_STRUCT(sfinfo.basic_info.in);
sfinfo.generic.level = RAW_SFILEINFO_UNIX_INFO2;
sfinfo.generic.in.file.path = fname;