summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/mkvol_bad.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/mkvol_bad.c')
-rw-r--r--tests/ubi-tests/mkvol_bad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/mkvol_bad.c b/tests/ubi-tests/mkvol_bad.c
index 2e3c450..4ba4a72 100644
--- a/tests/ubi-tests/mkvol_bad.c
+++ b/tests/ubi-tests/mkvol_bad.c
@@ -275,7 +275,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;