summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/volrefcnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/volrefcnt.c')
-rw-r--r--tests/ubi-tests/volrefcnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ubi-tests/volrefcnt.c b/tests/ubi-tests/volrefcnt.c
index 591a55a..328a8ad 100644
--- a/tests/ubi-tests/volrefcnt.c
+++ b/tests/ubi-tests/volrefcnt.c
@@ -67,6 +67,7 @@ int main(int argc, char * const argv[])
req.bytes = dev_info.leb_size;
req.vol_type = UBI_DYNAMIC_VOLUME;
req.name = "rmvol";
+ req.flags = 0;
if (ubi_mkvol(libubi, node, &req)) {
failed("ubi_mkvol");