Make small fixes

This commit is contained in:
Justine Tunney 2022-04-17 10:33:12 -07:00
parent 80308079ec
commit ab38f0823d
5 changed files with 7 additions and 6 deletions

View file

@ -199,7 +199,7 @@ TEST(mprotect, testFileMap_canChangeToExecWhileOpenInRdwrMode) {
TEST(mprotect, testBadProt_failsEinval) {
volatile char *p = gc(memalign(PAGESIZE, PAGESIZE));
EXPECT_EQ(-1, mprotect(p, 0, -1));
EXPECT_EQ(-1, mprotect(p, 9999, -1));
EXPECT_EQ(EINVAL, errno);
}