From d6351adca9c1eb6bc01ec5390abf8bc06b008de0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 17 Oct 2009 12:56:15 -0700 Subject: Fix the smbtorture4 build. root_fid is a "union smb_handle". tridge please check. Jeremy. --- source4/torture/raw/unlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index 28218b26fd..968a4a8fbf 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -499,7 +499,7 @@ static bool test_unlink_defer(struct torture_context *tctx, &ud_cli_state); io.generic.level = RAW_OPEN_NTCREATEX; - io.ntcreatex.in.root_fid = 0; + io.ntcreatex.in.root_fid.fnum = 0; io.ntcreatex.in.access_mask = SEC_RIGHTS_FILE_ALL; io.ntcreatex.in.alloc_size = 0; io.ntcreatex.in.file_attr = FILE_ATTRIBUTE_NORMAL; -- cgit