summaryrefslogtreecommitdiff
path: root/source3/torture/mangle_test.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-03 21:13:08 -0800
committerJeremy Allison <jra@samba.org>2011-12-03 21:13:08 -0800
commit4e709dc42fff464191f21dfa150a18a072d48569 (patch)
tree83a3005e5fb537c9c88faff8fe4f5c93cb219768 /source3/torture/mangle_test.c
parentc326b37358260ba4f3a95463acdbf02ddae0ab97 (diff)
downloadsamba-4e709dc42fff464191f21dfa150a18a072d48569.tar.gz
samba-4e709dc42fff464191f21dfa150a18a072d48569.tar.bz2
samba-4e709dc42fff464191f21dfa150a18a072d48569.zip
Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()
with a call that uses NTCreateX in preference to OpenAndX.
Diffstat (limited to 'source3/torture/mangle_test.c')
-rw-r--r--source3/torture/mangle_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index 4fc91dc4b3..36e4aafff0 100644
--- a/source3/torture/mangle_test.c
+++ b/source3/torture/mangle_test.c
@@ -42,7 +42,7 @@ static bool test_one(struct cli_state *cli, const char *name)
total++;
- status = cli_open(cli, name, O_RDWR|O_CREAT|O_EXCL, DENY_NONE, &fnum);
+ status = cli_openx(cli, name, O_RDWR|O_CREAT|O_EXCL, DENY_NONE, &fnum);
if (!NT_STATUS_IS_OK(status)) {
printf("open of %s failed (%s)\n", name, nt_errstr(status));
return False;
@@ -70,7 +70,7 @@ static bool test_one(struct cli_state *cli, const char *name)
}
/* recreate by short name */
- status = cli_open(cli, name2, O_RDWR|O_CREAT|O_EXCL, DENY_NONE, &fnum);
+ status = cli_openx(cli, name2, O_RDWR|O_CREAT|O_EXCL, DENY_NONE, &fnum);
if (!NT_STATUS_IS_OK(status)) {
printf("open2 of %s failed (%s)\n", name2, nt_errstr(status));
return False;