diff options
author | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-12-03 21:13:08 -0800 |
commit | 4e709dc42fff464191f21dfa150a18a072d48569 (patch) | |
tree | 83a3005e5fb537c9c88faff8fe4f5c93cb219768 /source3/torture/mangle_test.c | |
parent | c326b37358260ba4f3a95463acdbf02ddae0ab97 (diff) | |
download | samba-4e709dc42fff464191f21dfa150a18a072d48569.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c index 4fc91dc4b3a..36e4aafff05 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; |