summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/io_basic.c')
-rw-r--r--tests/ubi-tests/io_basic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ubi-tests/io_basic.c b/tests/ubi-tests/io_basic.c
index 3a296b4..288a351 100644
--- a/tests/ubi-tests/io_basic.c
+++ b/tests/ubi-tests/io_basic.c
@@ -55,6 +55,7 @@ static int test_basic(int type)
req.bytes = dev_info.avail_bytes;
req.vol_type = type;
req.name = name;
+ req.flags = 0;
if (ubi_mkvol(libubi, node, &req)) {
failed("ubi_mkvol");
@@ -102,6 +103,7 @@ static int test_aligned(int type)
req.vol_type = type;
req.name = name;
+ req.flags = 0;
for (i = 0; i < sizeof(alignments)/sizeof(int); i++) {
req.vol_id = UBI_VOL_NUM_AUTO;