mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 07:43:52 +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. */
|
/* Don't treat this as an error. */
|
||||||
if (ret < 0 && errno == EEXIST && path_is_directory(dir))
|
if (ret < 0 && errno == EEXIST && path_is_directory(dir))
|
||||||
ret = 0;
|
ret = 0;
|
||||||
#if 0
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
RARCH_ERR("mkdir(%s) error: %s.\n", dir, strerror(errno));
|
printf("mkdir(%s) error: %s.\n", dir, strerror(errno));
|
||||||
#endif
|
|
||||||
return ret == 0;
|
return ret == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -621,10 +619,8 @@ bool path_mkdir(const char *dir)
|
|||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
#if 0
|
|
||||||
if (target && !ret)
|
if (target && !ret)
|
||||||
RARCH_ERR("Failed to create directory: \"%s\".\n", target);
|
printf("Failed to create directory: \"%s\".\n", target);
|
||||||
#endif
|
|
||||||
free(basedir);
|
free(basedir);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user