diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-14 13:46:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-30 16:53:24 +0200 |
commit | 3e503822c7379ffc1a1c60aed57eb81954451faa (patch) | |
tree | 49e4f7dd370954b7920606afdd82282f6e79e698 /fs/tftp.c | |
parent | e71c34366808bbe3ce0b166d8710749513af6d81 (diff) | |
download | barebox-3e503822c7379ffc1a1c60aed57eb81954451faa.tar.gz barebox-3e503822c7379ffc1a1c60aed57eb81954451faa.tar.xz |
use loff_t for file offsets
This is a first step for 64bit file support: Make the file sizes/offsets
64bit.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/tftp.c')
-rw-r--r-- | fs/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -569,7 +569,7 @@ static int tftp_read(struct device_d *dev, FILE *f, void *buf, size_t insize) return outsize; } -static off_t tftp_lseek(struct device_d *dev, FILE *f, off_t pos) +static loff_t tftp_lseek(struct device_d *dev, FILE *f, loff_t pos) { /* not implemented in tftp protocol */ return -ENOSYS; |