newHostVM: Fix linux/gcc crash on startup.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3978 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-10-28 10:49:45 +00:00
parent 283224290d
commit a61e678a12
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void HostSys::MemProtect( void* baseaddr, size_t size, const PageProtectionMode&
int result = mprotect( baseaddr, size, lnxmode );
if (!result)
if (result != 0)
{
switch(errno)
{