Changeset 24967
- Timestamp:
- 04/15/08 10:22:50 (7 months ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/system/libroot/posix/sys/mman.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/system/libroot/posix/sys/mman.cpp
r24964 r24967 20 20 { 21 21 // offset and length must be page-aligned 22 if (length == 0 || (offset | length)% B_PAGE_SIZE != 0) {22 if (length == 0 || offset % B_PAGE_SIZE != 0) { 23 23 errno = B_BAD_VALUE; 24 24 return MAP_FAILED;
