提交 d69ab5b3 编写于 作者: R Rich Felker

fix microblaze definition of struct stat

the erroneous definition was missed because with works with qemu
user-level emulation, which also has the wrong definition. the actual
kernel uses the asm-generic generic definition.
上级 200d1547
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
struct stat struct stat
{ {
dev_t st_dev; dev_t st_dev;
int __st_dev_padding; ino_t st_ino;
long __st_ino_truncated;
mode_t st_mode; mode_t st_mode;
nlink_t st_nlink; nlink_t st_nlink;
uid_t st_uid; uid_t st_uid;
...@@ -19,5 +18,5 @@ struct stat ...@@ -19,5 +18,5 @@ struct stat
struct timespec st_atim; struct timespec st_atim;
struct timespec st_mtim; struct timespec st_mtim;
struct timespec st_ctim; struct timespec st_ctim;
ino_t st_ino; unsigned __unused[2];
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册