(file_path.c) Use bogstandard printf instead

This commit is contained in:
twinaphex 2015-02-16 23:43:29 +01:00
parent 8f5809ee46
commit 16b2a5877a

View File

@ -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;
} }