diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-07-18 14:55:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-07-28 00:28:00 -0400 |
commit | 1431b29888eb22057fe7e441082015ea3c2f1e7a (patch) | |
tree | dd29edb0853279cb7475dc64ffb2e0990cf2b0ed /arch | |
parent | f6c971b5b191980713621ec6430011f024dbdeac (diff) | |
download | musl-1431b29888eb22057fe7e441082015ea3c2f1e7a.tar.gz musl-1431b29888eb22057fe7e441082015ea3c2f1e7a.tar.bz2 musl-1431b29888eb22057fe7e441082015ea3c2f1e7a.tar.xz musl-1431b29888eb22057fe7e441082015ea3c2f1e7a.zip |
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.h | 5 |
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]; }; |