From: Artem Bityutskiy Date: Thu, 7 May 2009 10:41:57 +0000 (+0300) Subject: ubiformat: fix build error X-Git-Tag: v1.3.0~62 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e0640129e362074678f5f9102464a0b640781d66;p=mtd-utils.git ubiformat: fix build error src/ubiformat.c: In function ‘main’: src/ubiformat.c:741: error: too many arguments to function ‘libubi_open’ --- 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;