Skip to content

Commit

Permalink
stress-mmaptorture: move } outside #ifdef block
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing committed Feb 17, 2025
1 parent 6a4f3a1 commit 6839058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stress-mmaptorture.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ static int stress_mmaptorture_child(stress_args_t *args, void *context)
defined(MS_SYNC) && \
defined(MS_ASYNC)
stress_mmaptorture_msync(ptr, mmap_size, page_size);
}
#endif
}
#if defined(HAVE_MADVISE)
(void)madvise((void *)ptr, mmap_size, madvise_option);
#endif
Expand Down

0 comments on commit 6839058

Please sign in to comment.