Fix the smbtorture4 build. root_fid is a "union smb_handle". tridge
authorJeremy Allison <jra@samba.org>
Sat, 17 Oct 2009 19:56:15 +0000 (12:56 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 17 Oct 2009 19:56:15 +0000 (12:56 -0700)
please check.
Jeremy.

source4/torture/raw/unlink.c

index 28218b26fddc0880b06040c6935f12884ed5a14b..968a4a8fbf7dc780441f431cfe9f2cae26029c67 100644 (file)
@@ -499,7 +499,7 @@ static bool test_unlink_defer(struct torture_context *tctx,
                              &ud_cli_state);
 
        io.generic.level = RAW_OPEN_NTCREATEX;
                              &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;
        io.ntcreatex.in.access_mask = SEC_RIGHTS_FILE_ALL;
        io.ntcreatex.in.alloc_size = 0;
        io.ntcreatex.in.file_attr = FILE_ATTRIBUTE_NORMAL;