summaryrefslogtreecommitdiffstats
path: root/common/filetype.c
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-07-12 11:46:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-16 11:08:47 +0200
commitc410817f1929c3ad85d7ce2cfe2c9e714b8b994c (patch)
treeb48f544d6aaa943d4a10f8fdc9d25ae85a5c7cd6 /common/filetype.c
parent4987f61ee22bd231aea7c23eb35942b9d1f18226 (diff)
downloadbarebox-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