From c01e6862a67883ba7afe834467e9750a88098f84 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 2 Jan 2015 10:17:08 +0000 Subject: [PATCH] syscalls: _getfsys takes a uint16_t not an int. From: Sergio L. Pascual --- Library/include/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index 1c057985..63bedab8 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -128,7 +128,7 @@ extern int rename(const char *path, const char *newpath); extern int _getdirent(int fd, void *buf, int len); extern int _stat(const char *path, struct _uzistat *s); extern int _fstat(int fd, struct _uzistat *s); -extern int _getfsys(int dev, struct _uzifilesys *fs); +extern int _getfsys(uint16_t dev, struct _uzifilesys *fs); extern int _time(time_t *t, uint16_t clock); extern int _stime(const time_t *t, uint16_t clock); extern int _times(struct tms *t); -- 2.34.1