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 /nandwrite.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 'nandwrite.c')
-rw-r--r-- | nandwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nandwrite.c b/nandwrite.c index 066ef55..3eea6e2 100644 --- a/nandwrite.c +++ b/nandwrite.c @@ -274,7 +274,7 @@ int main(int argc, char * const argv[]) } if (noecc) { - ret = ioctl(fd, MTDFILEMODE, MTD_MODE_RAW); + ret = ioctl(fd, MTDFILEMODE, MTD_FILE_MODE_RAW); if (ret) { switch (errno) { case ENOTTY: |