projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200d154
)
fix microblaze definition of struct stat
author
Rich Felker
<dalias@aerifal.cx>
Fri, 18 Jul 2014 18:55:30 +0000
(14:55 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 18 Jul 2014 18:55:30 +0000
(14:55 -0400)
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.
arch/microblaze/bits/stat.h
patch
|
blob
|
history
diff --git
a/arch/microblaze/bits/stat.h
b/arch/microblaze/bits/stat.h
index 8e920fc85515b89ee4a9f4189d2bf0ba739cbecc..a8c0283ddfe550479a6e96c11bf7b3bb5012fb51 100644
(file)
--- a/
arch/microblaze/bits/stat.h
+++ b/
arch/microblaze/bits/stat.h
@@
-4,8
+4,7
@@
struct stat
{
dev_t st_dev;
- int __st_dev_padding;
- long __st_ino_truncated;
+ ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
@@
-19,5
+18,5
@@
struct stat
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
-
ino_t st_ino
;
+
unsigned __unused[2]
;
};