]> www.infradead.org Git - mtd-utils.git/commit
nandbiterrs: Fix copy & paste fail
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 2 Nov 2017 00:01:02 +0000 (01:01 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Fri, 3 Nov 2017 18:41:32 +0000 (19:41 +0100)
commitce50e6d8d15b384ebf7021865a95d6f18d191291
treeec6c1a4278745584ecb45366328c8bcec3558d72
parent03dafe3202372e557f7125dc8155cb1d564d1f5e
nandbiterrs: Fix copy & paste fail

When porting some of the mtd-tests to user space, some code was
simplified. Among others, a while loop that iterates of page contents
was replaced with a for loop, but the old increment was left in place,
so every second byte was skipped.

This patch removes the erroneous second increment.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/nandbiterrs.c