mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
filesystem: fix missing newline in anonymous file creation error string. Turn it into a warning, because it's not fatal
This commit is contained in:
@@ -1938,7 +1938,7 @@ file_t *FS_SysOpen( const char *filepath, const char *mode )
|
|||||||
// through fcntl() and MFD_ALLOW_SEALING we could enforce
|
// through fcntl() and MFD_ALLOW_SEALING we could enforce
|
||||||
// read-write flags but we don't really care about them yet
|
// read-write flags but we don't really care about them yet
|
||||||
if( fd < 0 )
|
if( fd < 0 )
|
||||||
Con_Printf( S_ERROR "%s: can't create anonymous file %s: %s", __func__, filepath, strerror( errno ));
|
Con_Printf( S_WARN "%s: can't create anonymous file %s: %s\n", __func__, filepath, strerror( errno ));
|
||||||
else memfile = true;
|
else memfile = true;
|
||||||
#endif
|
#endif
|
||||||
// if it's unsupported, we can open it on disk
|
// if it's unsupported, we can open it on disk
|
||||||
|
|||||||
Reference in New Issue
Block a user