diff options
Diffstat (limited to 'source4/torture/raw/ioctl.c')
-rw-r--r-- | source4/torture/raw/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c index a7787b6d28..4fd296d811 100644 --- a/source4/torture/raw/ioctl.c +++ b/source4/torture/raw/ioctl.c @@ -137,7 +137,7 @@ BOOL torture_raw_ioctl(int dummy) printf("Failed to clean " BASEDIR "\n"); return False; } - if (!cli_mkdir(cli->tree, BASEDIR)) { + if (NT_STATUS_IS_ERR(cli_mkdir(cli->tree, BASEDIR))) { printf("Failed to create " BASEDIR " - %s\n", cli_errstr(cli->tree)); return False; } |