summaryrefslogtreecommitdiff
path: root/nanddump.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@intel.com>2011-11-18 23:53:11 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>2011-11-18 23:53:11 +0200
commitf8aa6922dde02835ba97e84be41f387cdd38ec7d (patch)
tree171914942c226c733a9781cd8b0ca4ebeba3233d /nanddump.c
parent97bb4aa681f4df5e784c1f8a8db049a95a0d65c6 (diff)
parent0970bf408707d610e88abb069b123e267aeb42f8 (diff)
Merge branch 'brian'v1.4.7
Diffstat (limited to 'nanddump.c')
-rw-r--r--nanddump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nanddump.c b/nanddump.c
index 7a24c0d..be458c6 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -336,7 +336,7 @@ int main(int argc, char * const argv[])
readbuf = xmalloc(sizeof(readbuf) * mtd.min_io_size);
if (noecc) {
- if (ioctl(fd, MTDFILEMODE, MTD_MODE_RAW) != 0) {
+ if (ioctl(fd, MTDFILEMODE, MTD_FILE_MODE_RAW) != 0) {
perror("MTDFILEMODE");
goto closeall;
}