summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-10-18 13:55:22 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-19 15:44:29 +0200
commit5e6c477ef8b7f4799e281ed87a3d4c1eda5dc92f (patch)
treeba205b1534506fa065b902a4d119c56b2d2c5df9 /source4/torture
parentb711de287f9318b5de1374c72f0194403e845f79 (diff)
downloadsamba-5e6c477ef8b7f4799e281ed87a3d4c1eda5dc92f.tar.gz
samba-5e6c477ef8b7f4799e281ed87a3d4c1eda5dc92f.tar.bz2
samba-5e6c477ef8b7f4799e281ed87a3d4c1eda5dc92f.zip
s3: remove duplicate fsctl fn definitions
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/ioctl.c b/source4/torture/smb2/ioctl.c
index f96893ab44..169a001f31 100644
--- a/source4/torture/smb2/ioctl.c
+++ b/source4/torture/smb2/ioctl.c
@@ -58,13 +58,13 @@ static bool test_ioctl_get_shadow_copy(struct torture_context *torture,
ZERO_STRUCT(ioctl);
ioctl.smb2.level = RAW_IOCTL_SMB2;
ioctl.smb2.in.file.handle = h;
- ioctl.smb2.in.function = SMB2_FSCTL_SRV_ENUM_SNAPS;
+ ioctl.smb2.in.function = FSCTL_SRV_ENUM_SNAPS;
ioctl.smb2.in.max_response_size = 16;
ioctl.smb2.in.flags = SMB2_IOCTL_FLAG_IS_FSCTL;
status = smb2_ioctl(tree, tmp_ctx, &ioctl.smb2);
if (!NT_STATUS_IS_OK(status)) {
- printf("SMB2_FSCTL_SRV_ENUM_SNAPS failed\n");
+ printf("FSCTL_SRV_ENUM_SNAPS failed\n");
return false;
}