diff options
author | Artem Bityutskiy <Artem.Bityutskiy@intel.com> | 2011-11-18 23:53:11 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@intel.com> | 2011-11-18 23:53:11 +0200 |
commit | f8aa6922dde02835ba97e84be41f387cdd38ec7d (patch) | |
tree | 171914942c226c733a9781cd8b0ca4ebeba3233d /nanddump.c | |
parent | 97bb4aa681f4df5e784c1f8a8db049a95a0d65c6 (diff) | |
parent | 0970bf408707d610e88abb069b123e267aeb42f8 (diff) |
Merge branch 'brian'v1.4.7
Diffstat (limited to 'nanddump.c')
-rw-r--r-- | nanddump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |