Commit 501da82c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

fileOpen: check errno

parent ad19ad73
......@@ -1092,7 +1092,7 @@ int fileOpen(const char *filename, const char *mode)
if ( FILE_Debug )
if ( fp == NULL && fd == -1 )
Message("Open failed on %s mode %c", filename, fmode, errno);
Message("Open failed on %s mode %c errno %d", filename, fmode, errno);
if ( fp )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment