summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-07-08 04:51:27 +0000
committerJeremy Allison <jra@samba.org>2005-07-08 04:51:27 +0000
commit3c00f990442c35a4e900c10b2cdcdb2b4bf63ade (patch)
treef60b3a473919fe3a6294822226bd950b8d832c70 /source/torture
parent29ae7fbb5d7c1ca38517da36f8db622a94cba32a (diff)
downloadsamba-3c00f990442c35a4e900c10b2cdcdb2b4bf63ade.tar.gz
samba-3c00f990442c35a4e900c10b2cdcdb2b4bf63ade.tar.xz
samba-3c00f990442c35a4e900c10b2cdcdb2b4bf63ade.zip
r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/cmd_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/cmd_vfs.c b/source/torture/cmd_vfs.c
index 2c977485449..974d3b8feed 100644
--- a/source/torture/cmd_vfs.c
+++ b/source/torture/cmd_vfs.c
@@ -286,7 +286,7 @@ static NTSTATUS cmd_open(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c
vfs->files[fd] = SMB_MALLOC_P(struct files_struct);
vfs->files[fd]->fsp_name = SMB_STRDUP(argv[1]);
- vfs->files[fd]->fd = fd;
+ vfs->files[fd]->fh->fd = fd;
vfs->files[fd]->conn = vfs->conn;
printf("open: fd=%d\n", fd);
return NT_STATUS_OK;