summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/integ.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-06-04 19:23:52 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-06-04 19:25:00 +0300
commita3b8a2f068bfc13391c6e1d06471f97d4743d398 (patch)
tree1576831d14c3837247146b847ebc5a49ccbb6681 /tests/ubi-tests/integ.c
parent1fd1b5430221b99e05d4f63693ccb0ec11a4af7c (diff)
ubi-tests: fix compilation
libubi_open interface was changed, but the tests were not amended. Fix this. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/integ.c')
-rw-r--r--tests/ubi-tests/integ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c
index e8bffab..f78c280 100644
--- a/tests/ubi-tests/integ.c
+++ b/tests/ubi-tests/integ.c
@@ -745,7 +745,7 @@ int main(int argc,char *argv[])
srand(initial_seed);
load_ubi();
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (!libubi)
error_exit("Failed to open libubi");
@@ -766,7 +766,7 @@ int main(int argc,char *argv[])
reload_ubi();
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (!libubi)
error_exit("Failed to open libubi");