diff options
Diffstat (limited to 'tests/ubi-tests/mkvol_bad.c')
-rw-r--r-- | tests/ubi-tests/mkvol_bad.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ubi-tests/mkvol_bad.c b/tests/ubi-tests/mkvol_bad.c index 486fbab..7e46726 100644 --- a/tests/ubi-tests/mkvol_bad.c +++ b/tests/ubi-tests/mkvol_bad.c @@ -48,6 +48,7 @@ static int test_mkvol(void) req.bytes = dev_info.avail_bytes; req.vol_type = UBI_DYNAMIC_VOLUME; req.name = name; + req.flags = 0; /* Bad volume ID */ req.vol_id = -2; @@ -251,6 +252,7 @@ static int test_rmvol(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"); return -1; |