From e0640129e362074678f5f9102464a0b640781d66 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 7 May 2009 13:41:57 +0300 Subject: ubiformat: fix build error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/ubiformat.c: In function ‘main’: src/ubiformat.c:741: error: too many arguments to function ‘libubi_open’ --- ubi-utils/src/ubiformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3