From 11bc41c32cc933a141545be6a9729122ac436cfe Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 24 Jan 2020 22:44:01 +0100 Subject: mtd-utils: Fix printf format specifiers with the wrong type Signed-off-by: David Oberhollenzer --- tests/ubi-tests/io_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ubi-tests/io_read.c') 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; } } -- cgit v1.2.3