mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
(file_path.c) Use bogstandard printf instead
This commit is contained in:
parent
8f5809ee46
commit
16b2a5877a
@ -572,10 +572,8 @@ static bool path_mkdir_norecurse(const char *dir)
|
||||
/* Don't treat this as an error. */
|
||||
if (ret < 0 && errno == EEXIST && path_is_directory(dir))
|
||||
ret = 0;
|
||||
#if 0
|
||||
if (ret < 0)
|
||||
RARCH_ERR("mkdir(%s) error: %s.\n", dir, strerror(errno));
|
||||
#endif
|
||||
printf("mkdir(%s) error: %s.\n", dir, strerror(errno));
|
||||
return ret == 0;
|
||||
}
|
||||
|
||||
@ -621,10 +619,8 @@ bool path_mkdir(const char *dir)
|
||||
}
|
||||
|
||||
end:
|
||||
#if 0
|
||||
if (target && !ret)
|
||||
RARCH_ERR("Failed to create directory: \"%s\".\n", target);
|
||||
#endif
|
||||
printf("Failed to create directory: \"%s\".\n", target);
|
||||
free(basedir);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user