From e413d17f8bd6c680a4f792006932a070ce504120 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Fri, 9 Sep 2011 10:11:49 -0700 Subject: 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 Signed-off-by: Artem Bityutskiy --- nanddump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nanddump.c') 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; } -- cgit v1.2.3