diff options
Diffstat (limited to 'nandtest.c')
-rw-r--r-- | nandtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ int main(int argc, char **argv) printf("\r%08x: reading... ", (unsigned)test_ofs); fflush(stdout); - len = pread(fd, rbuf, meminfo.erasesize, test_ofs); + len = pread(fd, kbuf, meminfo.erasesize, test_ofs); if (len < meminfo.erasesize) { printf("\n"); if (len) |