summaryrefslogtreecommitdiff
path: root/nandtest.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
commit9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (patch)
treec26f904a6bac8a66d8255d959889f381540808f2 /nandtest.c
parent180c09de57d8e254716c562bd0537df543d12577 (diff)
parenta15b1a1409721c1d75c1ecaab90bdeca74c26fd4 (diff)
Merge branch 'master' of git://git.infradead.org/mtd-utils
Diffstat (limited to 'nandtest.c')
-rw-r--r--nandtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nandtest.c b/nandtest.c
index 7613a52..e31e28a 100644
--- a/nandtest.c
+++ b/nandtest.c
@@ -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)