1.1 --- a/tests/dstest_block_client.cc Sat May 14 23:52:24 2022 +0200
1.2 +++ b/tests/dstest_block_client.cc Thu May 19 14:08:28 2022 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Test dataspace operations.
1.6 *
1.7 - * Copyright (C) 2020, 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2020, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -82,7 +82,7 @@
1.13
1.14 /* A region of the file is mapped. */
1.15
1.16 - err = file_mmap(&file, 0, page(10));
1.17 + err = file_mmap(&file, 0, page(10), file_region_flags(file.flags));
1.18
1.19 if (err)
1.20 {