Minor fix; added PRISize macro

This commit is contained in:
Jack Andersen 2015-11-14 13:59:10 -10:00
parent 39dd15cd55
commit df43b72f8a
2 changed files with 7 additions and 1 deletions
include/Athena
src/Athena

View File

@ -22,6 +22,12 @@
#define S_ISLNK(m) 0 #define S_ISLNK(m) 0
#endif #endif
#define PRISize "Iu"
#else
#define PRISize "zu"
#endif #endif
#ifndef AT_PRETTY_FUNCTION #ifndef AT_PRETTY_FUNCTION

View File

@ -59,7 +59,7 @@ void FileWriter::open(bool overwrite)
if (!m_fileHandle) if (!m_fileHandle)
{ {
atError("Unable to open file '%s'", filename()); atError("Unable to open file '%s'", filename().c_str());
setError(); setError();
return; return;
} }