aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-05-07 13:41:57 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-05-07 13:42:26 +0300
commite0640129e362074678f5f9102464a0b640781d66 (patch)
tree6681f7ae2c63651fe6cd84388e2440e06b0aec8d
parent91be0c2c919fef17d26b81afc5bb8f123a5758ac (diff)
ubiformat: fix build error
src/ubiformat.c: In function ‘main’: src/ubiformat.c:741: error: too many arguments to function ‘libubi_open’
-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;