mirror of
git://erdgeist.org/opentracker
synced 2025-02-04 19:16:23 +00:00
Formatting
This commit is contained in:
parent
bb1c5d2805
commit
933f8d9b52
@ -48,9 +48,8 @@ void iovec_fixlast( int *iovec_entries, struct iovec **iovector, void *last_ptr
|
||||
old_pages = 1 + old_alloc / page_size;
|
||||
new_pages = 1 + new_alloc / page_size;
|
||||
|
||||
if( old_pages != new_pages ) {
|
||||
if( old_pages != new_pages )
|
||||
munmap( base + new_pages * page_size, old_alloc - new_pages * page_size );
|
||||
}
|
||||
((*iovector)[*iovec_entries - 1 ]).iov_len = new_alloc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user