summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_update.c
diff options
context:
space:
mode:
authorBill Pringlemeir <bpringle@sympatico.ca>2012-11-05 12:38:36 -0500
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-16 09:35:25 +0200
commitc557e71b1070e3282156c0466462975a95d0d05c (patch)
tree74d76dc3d3687dea11f22874f46499909003e4a4 /tests/ubi-tests/io_update.c
parentd81ac614683e3de9b21b82c4dcdb1eb81a4f849a (diff)
ubi-tests: ubi_leb_change_start() no longer uses 'dtype'.
This will not compile for me (due to bit rot?). Maybe the program is never used? Signed-off-by: Bill Pringlemeir <bpringlemeir@nbsps.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/ubi-tests/io_update.c')
-rw-r--r--tests/ubi-tests/io_update.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c
index e8f0986..ec109e0 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -102,8 +102,7 @@ static int test_update1(struct ubi_vol_info *vol_info, int leb_change)
test_len = total_len - (rand() % (total_len / 10));
if (leb_change) {
- if (ubi_leb_change_start(libubi, fd, 0, test_len,
- UBI_SHORTTERM)) {
+ if (ubi_leb_change_start(libubi, fd, 0, test_len)) {
failed("ubi_update_start");
goto close;
}