Cleanup parser of getpagesize syscall

* mem.c (SYS_FUNC(getpagesize)): Decode on entering syscall.
This commit is contained in:
Дмитрий Левин 2016-01-08 19:20:05 +00:00
parent fbec510297
commit b61b2d820f

4
mem.c
View File

@ -292,9 +292,7 @@ SYS_FUNC(mincore)
|| defined SPARC || defined SPARC64
SYS_FUNC(getpagesize)
{
if (exiting(tcp))
return RVAL_HEX;
return 0;
return RVAL_DECODED | RVAL_HEX;
}
#endif