Page MenuHomeFreeBSD

D36265.id109725.diff
No OneTemporary

D36265.id109725.diff

diff --git a/tests/sys/vm/shared_shadow_inval_test.c b/tests/sys/vm/shared_shadow_inval_test.c
--- a/tests/sys/vm/shared_shadow_inval_test.c
+++ b/tests/sys/vm/shared_shadow_inval_test.c
@@ -365,7 +365,7 @@
ATF_REQUIRE(sysctllen >= sizeof(size_t));
pagesize = pagesizes[0];
- largepagesize = sysctllen >= 2 * sizeof(size_t) ?
+ largepagesize = sysctllen >= 2 * sizeof(size_t) && pagesizes[1] != 0 ?
pagesizes[1] : 2 * 1024 * 1024;
for (unsigned int i = 0; i <= FLAG_MASK; i++) {

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 12:13 PM (10 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16029613
Default Alt Text
D36265.id109725.diff (496 B)

Event Timeline