summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubiupdatevol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/new-utils/src/ubiupdatevol.c')
-rw-r--r--ubi-utils/new-utils/src/ubiupdatevol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubiupdatevol.c b/ubi-utils/new-utils/src/ubiupdatevol.c
index 5c67fc9..7748de8 100644
--- a/ubi-utils/new-utils/src/ubiupdatevol.c
+++ b/ubi-utils/new-utils/src/ubiupdatevol.c
@@ -295,7 +295,7 @@ int main(int argc, char * const argv[])
if (!args.img && !args.truncate)
return errmsg("incorrect arguments, use -h for help");
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
sys_errmsg("cannot open libubi");
goto out_libubi;