fixed linux build
authorDavid Anderson <dvander@alliedmods.net>
Sun Aug 26 19:20:36 2007 +0000 (2007-08-26)
changeset 13734dc1bc06a66e
parent 1372 ad47df249937
child 1374 76f2c00429b1
fixed linux build
core/smn_filesystem.cpp
     1.1 --- a/core/smn_filesystem.cpp	Sun Aug 26 19:11:36 2007 +0000
     1.2 +++ b/core/smn_filesystem.cpp	Sun Aug 26 19:20:36 2007 +0000
     1.3 @@ -568,7 +568,7 @@
     1.4  	if (_stat(realpath, &s) != 0)
     1.5  #elif defined PLATFORM_POSIX
     1.6  	struct stat s;
     1.7 -	if (stat(path, &s) != 0)
     1.8 +	if (stat(realpath, &s) != 0)
     1.9  #endif
    1.10  	{
    1.11  		return -1;