diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/smbconf/smbconf_txt.c | 2 | ||||
-rw-r--r-- | source3/lib/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_txt.c b/source3/lib/smbconf/smbconf_txt.c index 1a29f40164..1393a098d5 100644 --- a/source3/lib/smbconf/smbconf_txt.c +++ b/source3/lib/smbconf/smbconf_txt.c @@ -183,7 +183,7 @@ static WERROR smbconf_txt_load_file(struct smbconf_ctx *ctx) WERROR werr; uint64_t new_csn; - if (!file_exist(ctx->path, NULL)) { + if (!file_exist(ctx->path)) { return WERR_BADFILE; } diff --git a/source3/lib/util.c b/source3/lib/util.c index 1cdc5c8ac6..2f1dd83bb1 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2321,7 +2321,7 @@ static char *xx_path(const char *name, const char *rootpath) } trim_string(fname,"","/"); - if (!directory_exist_stat(fname,NULL)) { + if (!directory_exist(fname)) { mkdir(fname,0755); } |