From 23b417b4c0e867913f47bc5e65c99eb395f47970 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Baumbach?= Date: Mon, 11 Jul 2011 13:49:18 +0200 Subject: [PATCH] s3-torture: locktest2: replace cli_lock() with cli_lock32() Signed-off-by: Stefan Metzmacher --- source3/torture/locktest2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index aba6d2ff134a..5115d1364fef 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; -- 2.34.1