diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-07-12 11:46:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-16 11:08:47 +0200 |
commit | c410817f1929c3ad85d7ce2cfe2c9e714b8b994c (patch) | |
tree | b48f544d6aaa943d4a10f8fdc9d25ae85a5c7cd6 /common/filetype.c | |
parent | 4987f61ee22bd231aea7c23eb35942b9d1f18226 (diff) | |
download | barebox-c410817f1929c3ad85d7ce2cfe2c9e714b8b994c.tar.gz barebox-c410817f1929c3ad85d7ce2cfe2c9e714b8b994c.tar.xz |
mtd: fix 'write: Invalid argument' while writing to nand-bb devices
The 'off_t cur_ofs' variable was missed during the 64 bit conversion.
For the MEMGETBADBLOCK ioctl, a pointer to a loff_t is needed.
Also adjust the debug format strings.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/filetype.c')
0 files changed, 0 insertions, 0 deletions