summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-11 13:49:18 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-11 16:35:10 +0200
commit23b417b4c0e867913f47bc5e65c99eb395f47970 (patch)
tree518376dcabe9155a500fa1f20fcb0094e9324a7f /source3
parentb6e9866c54bbcc1d9eaf184b387d863c77adb6e2 (diff)
downloadsamba-23b417b4c0e867913f47bc5e65c99eb395f47970.tar.gz
samba-23b417b4c0e867913f47bc5e65c99eb395f47970.tar.bz2
samba-23b417b4c0e867913f47bc5e65c99eb395f47970.zip
s3-torture: locktest2: replace cli_lock() with cli_lock32()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/locktest2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c
index aba6d2ff13..5115d1364f 100644
--- a/source3/torture/locktest2.c
+++ b/source3/torture/locktest2.c
@@ -114,7 +114,8 @@ static bool try_lock(struct cli_state *c, int fstype,
switch (fstype) {
case FSTYPE_SMB:
- return cli_lock(c, fd, start, len, LOCK_TIMEOUT, op);
+ return NT_STATUS_IS_OK(cli_lock32(c, fd, start, len,
+ LOCK_TIMEOUT, op));
case FSTYPE_NFS:
lock.l_type = (op==READ_LOCK) ? F_RDLCK:F_WRLCK;