Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()
[mat/samba.git] / source3 / torture / mangle_test.c
index 4fc91dc4b3af6e76c27ebd4186adc1f67f456399..36e4aafff050f41d14030e03d5078d3ee8ccdf6c 100644 (file)
@@ -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;