summaryrefslogtreecommitdiff
path: root/source4/torture/raw/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw/seek.c')
-rw-r--r--source4/torture/raw/seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/seek.c b/source4/torture/raw/seek.c
index fa95156969..89528c72ad 100644
--- a/source4/torture/raw/seek.c
+++ b/source4/torture/raw/seek.c
@@ -53,7 +53,7 @@ static BOOL test_seek(struct cli_state *cli, TALLOC_CTX *mem_ctx)
char c[2];
if (cli_deltree(cli->tree, BASEDIR) == -1 ||
- !cli_mkdir(cli->tree, BASEDIR)) {
+ NT_STATUS_IS_ERR(cli_mkdir(cli->tree, BASEDIR))) {
printf("Unable to setup %s - %s\n", BASEDIR, cli_errstr(cli->tree));
return False;
}