diff options
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r-- | source3/torture/nbio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c index 998adac4e0..7503e59357 100644 --- a/source3/torture/nbio.c +++ b/source3/torture/nbio.c @@ -229,7 +229,7 @@ void nb_rmdir(const char *fname) void nb_rename(const char *oldname, const char *newname) { - if (!cli_rename(c, oldname, newname)) { + if (!NT_STATUS_IS_OK(cli_rename(c, oldname, newname))) { printf("ERROR: rename %s %s failed (%s)\n", oldname, newname, cli_errstr(c)); exit(1); |