From: Alan Cox Date: Fri, 2 Jan 2015 10:17:08 +0000 (+0000) Subject: syscalls: _getfsys takes a uint16_t not an int. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c01e6862a67883ba7afe834467e9750a88098f84;p=FUZIX.git syscalls: _getfsys takes a uint16_t not an int. From: Sergio L. Pascual --- 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);