aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ubi-utils/src/ubiformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c
index 1a564d1..ac236f7 100644
--- a/ubi-utils/src/ubiformat.c
+++ b/ubi-utils/src/ubiformat.c
@@ -738,7 +738,7 @@ int main(int argc, char * const argv[])
}
/* Make sure this MTD device is not attached to UBI */
- libubi = libubi_open(0);
+ libubi = libubi_open();
if (libubi) {
int ubi_dev_num;