summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-18 14:55:30 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-28 00:28:00 -0400
commit1431b29888eb22057fe7e441082015ea3c2f1e7a (patch)
treedd29edb0853279cb7475dc64ffb2e0990cf2b0ed /arch
parentf6c971b5b191980713621ec6430011f024dbdeac (diff)
downloadmusl-1431b29888eb22057fe7e441082015ea3c2f1e7a.tar.gz
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. (cherry picked from commit d69ab5b3686acf75fdf5db6fad19c2c6a510bb4f)
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/bits/stat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/microblaze/bits/stat.h b/arch/microblaze/bits/stat.h
index 8e920fc8..a8c0283d 100644
--- 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];
};