mirror of https://github.com/libAthena/athena.git
Minor fix; added PRISize macro
This commit is contained in:
parent
39dd15cd55
commit
df43b72f8a
|
@ -22,6 +22,12 @@
|
|||
#define S_ISLNK(m) 0
|
||||
#endif
|
||||
|
||||
#define PRISize "Iu"
|
||||
|
||||
#else
|
||||
|
||||
#define PRISize "zu"
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef AT_PRETTY_FUNCTION
|
||||
|
|
|
@ -59,7 +59,7 @@ void FileWriter::open(bool overwrite)
|
|||
|
||||
if (!m_fileHandle)
|
||||
{
|
||||
atError("Unable to open file '%s'", filename());
|
||||
atError("Unable to open file '%s'", filename().c_str());
|
||||
setError();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue