]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: nandwrite: type consistency
authorBrian Norris <computersforpeace@gmail.com>
Thu, 11 Nov 2010 06:39:14 +0000 (22:39 -0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 13 Nov 2010 11:55:44 +0000 (13:55 +0200)
commitc1a7889da754dfac2f130772daef783980c65d5d
treef49f4ace898d4142a092faf7f3d9a9ab209c506e
parent15d811481cf1cf61ae23fabbd1e191ebdbcf3881
mtd-utils: nandwrite: type consistency

Change type off "offs" for type consistency of 64-bit data types. The
"loff_t" type is no longer needed for the MEMGETBADBLOCK ioctl since
it isn't called dirently anymore - this is handled by mtd_is_bad().

Also change an accompanying printf().

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nandwrite.c