summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-28 16:43:16 -0700
committerJeremy Allison <jra@samba.org>2009-04-28 16:43:16 -0700
commitbd6447dcf26ec217f335784f05df304d45288850 (patch)
tree6e982a5746e120aa6e97d181e1c13916178d61c3 /source3/torture/nbio.c
parent06e404f5743d1ccce0f4c51ca3ef97927f801a42 (diff)
downloadsamba-bd6447dcf26ec217f335784f05df304d45288850.tar.gz
samba-bd6447dcf26ec217f335784f05df304d45288850.tar.bz2
samba-bd6447dcf26ec217f335784f05df304d45288850.zip
Convert cli_rename to async.
Jeremy.
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c2
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);