aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-10-10 00:15:39 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-10-10 00:15:39 +0200
commit8407677f20ecc7ea5374a0ded41263ede019d9f6 (patch)
treea707ba32bd40f74df0d51d4d62aaea6bf48a242c /src/systemcmds
parent21dcdf11cf8f05d94b17cd0b5cce058b45ee3923 (diff)
downloadpx4-firmware-8407677f20ecc7ea5374a0ded41263ede019d9f6.tar.gz
px4-firmware-8407677f20ecc7ea5374a0ded41263ede019d9f6.tar.bz2
px4-firmware-8407677f20ecc7ea5374a0ded41263ede019d9f6.zip
Updated error message
Diffstat (limited to 'src/systemcmds')
-rw-r--r--src/systemcmds/tests/tests_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/tests/tests_file.c b/src/systemcmds/tests/tests_file.c
index 58eeb6fdf..ab3dd7830 100644
--- a/src/systemcmds/tests/tests_file.c
+++ b/src/systemcmds/tests/tests_file.c
@@ -121,7 +121,7 @@ test_file(int argc, char *argv[])
for (int j = 0; j < 512; j++) {
if ((read_buf + 0)[j] != write_buf[j + 1/*+ (i % 64)*/]) {
- warnx("COMPARISON ERROR: byte %d, align shift: %d", j, (i % 64));
+ warnx("COMPARISON ERROR: byte %d, align shift: %d", j, 1/*(i % 64)*/);
compare_ok = false;
break;
}