aboutsummaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_read.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-24 22:44:01 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-09 22:13:18 +0100
commit11bc41c32cc933a141545be6a9729122ac436cfe (patch)
tree5b599fd6061fbe1c43ae24a272b6e98c0b619ad9 /tests/ubi-tests/io_read.c
parent42e051acd32c28c2f93c946d0c4bf6f9eada2aa4 (diff)
mtd-utils: Fix printf format specifiers with the wrong type
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests/io_read.c')
-rw-r--r--tests/ubi-tests/io_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/io_read.c b/tests/ubi-tests/io_read.c
index f944a86..a6cc8f5 100644
--- a/tests/ubi-tests/io_read.c
+++ b/tests/ubi-tests/io_read.c
@@ -233,7 +233,7 @@ static int test_read2(const struct ubi_vol_info *vol_info, int len)
continue;
if (test_read3(vol_info, len, offsets[i])) {
- errorm("offset = %d", offsets[i]);
+ errorm("offset = %ld", offsets[i]);
return -1;
}
}