diff options
Diffstat (limited to 'options/path.c')
-rw-r--r-- | options/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/path.c b/options/path.c index 7e5495f844..8a7873ded2 100644 --- a/options/path.c +++ b/options/path.c @@ -271,13 +271,13 @@ char *mp_getcwd(void *talloc_ctx) bool mp_path_exists(const char *path) { struct stat st; - return path && mp_stat(path, &st) == 0; + return path && stat(path, &st) == 0; } bool mp_path_isdir(const char *path) { struct stat st; - return mp_stat(path, &st) == 0 && S_ISDIR(st.st_mode); + return stat(path, &st) == 0 && S_ISDIR(st.st_mode); } // Return false if it's considered a normal local filesystem path. |