summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/new-utils/src/ubinfo.c')
-rw-r--r--ubi-utils/new-utils/src/ubinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubinfo.c b/ubi-utils/new-utils/src/ubinfo.c
index 185caae..a71f087 100644
--- a/ubi-utils/new-utils/src/ubinfo.c
+++ b/ubi-utils/new-utils/src/ubinfo.c
@@ -366,7 +366,7 @@ int main(int argc, char * const argv[])
if (!args.node && args.devn != -1)
return errmsg("specify either device number or node file (use -h for help)");
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL)
return sys_errmsg("cannot open libubi");