getsysstats, mmap retcode fixed