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