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/scanner.c | |
parent | c326b37358260ba4f3a95463acdbf02ddae0ab97 (diff) | |
download | samba-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/scanner.c')
-rw-r--r-- | source3/torture/scanner.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c index 580dadf80e..01d1456b53 100644 --- a/source3/torture/scanner.c +++ b/source3/torture/scanner.c @@ -243,12 +243,12 @@ bool torture_trans2_scan(int dummy) return False; } - if (!NT_STATUS_IS_OK(cli_open(cli, fname, O_RDWR | O_CREAT | O_TRUNC, + if (!NT_STATUS_IS_OK(cli_openx(cli, fname, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, &fnum))) { printf("open of %s failed\n", fname); return false; } - if (!NT_STATUS_IS_OK(cli_open(cli, "\\", O_RDONLY, DENY_NONE, &dnum))) { + if (!NT_STATUS_IS_OK(cli_openx(cli, "\\", O_RDONLY, DENY_NONE, &dnum))) { printf("open of \\ failed\n"); return false; } @@ -488,9 +488,9 @@ bool torture_nttrans_scan(int dummy) return False; } - cli_open(cli, fname, O_RDWR | O_CREAT | O_TRUNC, + cli_openx(cli, fname, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, &fnum); - cli_open(cli, "\\", O_RDONLY, DENY_NONE, &dnum); + cli_openx(cli, "\\", O_RDONLY, DENY_NONE, &dnum); for (op=OP_MIN; op<=OP_MAX; op++) { printf("Scanning op=%d\n", op); |