diff options
author | Jose Luis Duran <jlduran@gmail.com> | 2023-11-07 15:05:15 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2023-12-04 17:22:14 +0000 |
commit | 5b36076d28ad1920b178da93d667dcfeae426494 (patch) | |
tree | e574a354ba68e2561ad3a2dd3995bf0cc2175a17 /tests | |
parent | 6084d989497087dc4c7db8621a1b5a8e4d0559e1 (diff) | |
download | src-5b36076d28ad1920b178da93d667dcfeae426494.tar.gz src-5b36076d28ad1920b178da93d667dcfeae426494.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c b/tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c index 17c6b63d45d8..5aba7a83225f 100644 --- a/tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c +++ b/tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c @@ -106,7 +106,7 @@ typedef struct { typedef struct { int thread_num; - pattern_t* pat; + const pattern_t* pat; } thread_data_t; @@ -354,7 +354,7 @@ verify_file(int fd, const pattern_t* p_pat){ /* Writes a special marker to every byte within the chunk */ static void -write_chunk(pattern_t* p_pat, int chunk_idx, int thread_num) +write_chunk(const pattern_t* p_pat, int chunk_idx, int thread_num) { uint32_t chunk_start, chunk_end; get_chunk_range(p_pat, chunk_idx, &chunk_start, &chunk_end); |