Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108117745
D36265.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D36265.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 1:57 PM (12 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16029613
Default Alt Text
D36265.diff (496 B)
Attached To
Mode
D36265: Fix shared_shadow_inval_test when superpages are disabled
Attached
Detach File
Event Timeline
Log In to Comment