From f3af298e5b1457ba8661fd0e3f5304ad3175f3ba Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 30 Apr 2009 16:57:42 -0700 Subject: Cause cli_close to return an NTSTATUS. Jeremy. --- source3/torture/locktest2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture/locktest2.c') diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 9cb531450c..93adcb51a6 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -94,7 +94,7 @@ static bool try_close(struct cli_state *c, int fstype, int fd) { switch (fstype) { case FSTYPE_SMB: - return cli_close(c, fd); + return NT_STATUS_IS_OK(cli_close(c, fd)); case FSTYPE_NFS: return close(fd) == 0; -- cgit