summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/common.c')
-rw-r--r--tests/ubi-tests/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/common.c b/tests/ubi-tests/common.c
index a5064fb..e785b91 100644
--- a/tests/ubi-tests/common.c
+++ b/tests/ubi-tests/common.c
@@ -57,7 +57,7 @@ int __initial_check(const char *test, int argc, char * const argv[])
return -1;
}
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
__failed(test, __FUNCTION__, __LINE__, "libubi_open");
return -1;