aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-10-10 08:37:24 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-10-10 08:37:24 +0200
commit6ffa2955b919a18abd94dd990c3447dfc68dd5c2 (patch)
tree958aa7ccbbd50fce8d2103c545cfc027ef37c9e3 /src/systemcmds/tests
parente0e708241b965f364fd49fa0d2270de5ad517a70 (diff)
downloadpx4-firmware-6ffa2955b919a18abd94dd990c3447dfc68dd5c2.tar.gz
px4-firmware-6ffa2955b919a18abd94dd990c3447dfc68dd5c2.tar.bz2
px4-firmware-6ffa2955b919a18abd94dd990c3447dfc68dd5c2.zip
Typo in debug output
Diffstat (limited to 'src/systemcmds/tests')
-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 aa0e163d7..14532e48c 100644
--- a/src/systemcmds/tests/tests_file.c
+++ b/src/systemcmds/tests/tests_file.c
@@ -226,7 +226,7 @@ test_file(int argc, char *argv[])
}
if ((read_buf + 1)[j] != write_buf[j]) {
- warnx("COMPARISON ERROR: byte %d, align shift: %d: %u != %u", j, 1/*(i % 64)*/, (unsigned int)read_buf[j], (unsigned int)write_buf[j]);
+ warnx("COMPARISON ERROR: byte %d, align shift: %d: %u != %u", j, 1/*(i % 64)*/, (unsigned int)read_ptr[j], (unsigned int)write_buf[j]);
unalign_read_ok = false;
unalign_read_err_count++;