fit musl for riscv64 boards.

This commit is contained in:
TXuian
2022-07-27 05:35:56 -07:00
parent 214cf55603
commit cb4a9d03e0
124 changed files with 768 additions and 1260 deletions
+2 -1
View File
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <xizi.h>
#include <iot-vfs.h>
#include <iot-vfs_posix.h>
@@ -592,7 +593,7 @@ int ioctl(int fd, int cmd, ...)
va_list ap;
va_start(ap, cmd);
ret = fdp->mntp->fs->ioctl(fdp, cmd, (void*)va_arg(ap, int));
ret = fdp->mntp->fs->ioctl(fdp, cmd, (void*)va_arg(ap, long));
va_end(ap);
if (ret < 0) {
SYS_ERR("%s: ioctl file failed\n", __func__);