summaryrefslogtreecommitdiffstats
path: root/fs/fs.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-02-17 22:05:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-18 11:09:46 +0100
commite48b1440715f7f25d664faf98f5afe0a787f7c68 (patch)
tree88023b01c2fe4ea0d5ead6f18ea06be692765895 /fs/fs.c
parent927eb757955135c9b88ee4abc5f2ee78edff6bd8 (diff)
downloadbarebox-e48b1440715f7f25d664faf98f5afe0a787f7c68.tar.gz
barebox-e48b1440715f7f25d664faf98f5afe0a787f7c68.tar.xz
fs: fix return type of read
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/fs.c')
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index f840516136..48d1c89a85 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -754,7 +754,7 @@ int ioctl(int fd, int request, void *buf)
return ret;
}
-int read(int fd, void *buf, size_t count)
+ssize_t read(int fd, void *buf, size_t count)
{
struct device_d *dev;
struct fs_driver_d *fsdrv;