diff options
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
-rw-r--r-- | tests/ubi-tests/mkvol_basic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ubi-tests/mkvol_basic.c b/tests/ubi-tests/mkvol_basic.c index 88d115a..c7c6984 100644 --- a/tests/ubi-tests/mkvol_basic.c +++ b/tests/ubi-tests/mkvol_basic.c @@ -59,6 +59,7 @@ static int mkvol_alignment(void) req.vol_type = UBI_DYNAMIC_VOLUME; req.name = name; + req.flags = 0; if (ubi_mkvol(libubi, node, &req)) { failed("ubi_mkvol"); @@ -101,6 +102,7 @@ static int mkvol_basic(void) req.bytes = dev_info.avail_bytes; req.vol_type = UBI_DYNAMIC_VOLUME; req.name = name; + req.flags = 0; if (ubi_mkvol(libubi, node, &req)) { failed("ubi_mkvol"); @@ -170,6 +172,7 @@ static int mkvol_multiple(void) req.alignment = 1; req.bytes = 1; req.vol_type = UBI_STATIC_VOLUME; + req.flags = 0; sprintf(nm, "%s:%d", name, i); req.name = nm; |