summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubimkvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/new-utils/src/ubimkvol.c')
-rw-r--r--ubi-utils/new-utils/src/ubimkvol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubimkvol.c b/ubi-utils/new-utils/src/ubimkvol.c
index b99582c..fd8c568 100644
--- a/ubi-utils/new-utils/src/ubimkvol.c
+++ b/ubi-utils/new-utils/src/ubimkvol.c
@@ -240,7 +240,7 @@ int main(int argc, char * const argv[])
if (err)
return err;
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (!libubi)
return sys_errmsg("cannot open libubi");