diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-09-09 10:11:49 -0700 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 16:11:28 +0300 |
commit | e413d17f8bd6c680a4f792006932a070ce504120 (patch) | |
tree | 974397f7dd7a27120efe7ecb7f994a8556f49d0c /nanddump.c | |
parent | bf01f2960ba82468b1b25f00e044fd0c3ee0770a (diff) |
mtd-utils: update mtd-abi.h
Kernel ABI header added a new ioctl, killed an old one, and exposed OOB
modes to user-space. Plus, it added a lot of documentation.
We have some trivial name changes for some MTD mode constants as well.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
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; } |