aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-09-21 14:12:39 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-10-05 13:40:37 +0200
commit94f6573e395674c5b7b7479f6869f73627152e7d (patch)
tree4bda17cd0fe65f3e34976006a6ace37e71de5a92 /tests
parentafba4fc3b7e989d8b23176ffbf6e84164920a079 (diff)
ubi-tests: io_update: fix missleading indentation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-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 7040e6a..fe3ad7b 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -147,7 +147,7 @@ static int test_update1(struct ubi_vol_info *vol_info, int leb_change)
rnd_len = rand() % (l + 1);
for (n = 0; n < rnd_len; n++)
buf[off + n] = (unsigned char)rand();
- memset(buf + off + rnd_len, 0xFF, l - rnd_len);
+ memset(buf + off + rnd_len, 0xFF, l - rnd_len);
/*
* Deliberately pass len instead of l (len may be