summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_update.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-23 20:31:23 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-23 20:31:23 +0200
commit725a91ea5ee4914a5187f26f18372062733bf036 (patch)
treeed4d5b5ab019eb50bcf2db41c38fe9d7228e741e /tests/ubi-tests/io_update.c
parent8b8b18dbb8f8a8b58f3e96ca2970c645be735757 (diff)
ubi-utils: move ubi_jffs2_test.sh to better place
... to tests/ubi-tests/ Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_update.c')
-rw-r--r--tests/ubi-tests/io_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c
index 543cb8c..4f8a374 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -185,7 +185,7 @@ static int test_update1(struct ubi_vol_info *vol_info)
}
for (i = 0; i < SEQ_SZ; i++) {
- int ret, stop = 0, len;
+ int ret, stop = 0, len = 0;
off_t off = 0;
unsigned char buf1[vol_info->rsvd_bytes];