summaryrefslogtreecommitdiff
path: root/arch/mips/kstat.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-18 19:07:32 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-18 19:38:37 -0400
commitfa7d4218c7038cb4bd29cbdf693306118b324030 (patch)
tree768d3898a9ec703ee09f426eb0fa33776b83b843 /arch/mips/kstat.h
parent01ae3fc6d48f4a45535189b7a6db286535af08ca (diff)
downloadmusl-fa7d4218c7038cb4bd29cbdf693306118b324030.tar.gz
remove mips/n32/64 stat struct hacks from syscall machinery
now that we have a kstat structure decoupled from the public struct stat, we can just use the broken kernel structures directly and let the code in fstatat do the translation.
Diffstat (limited to 'arch/mips/kstat.h')
-rw-r--r--arch/mips/kstat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kstat.h b/arch/mips/kstat.h
index 96e4ea34..5e637eab 100644
--- a/arch/mips/kstat.h
+++ b/arch/mips/kstat.h
@@ -1,13 +1,13 @@
struct kstat {
- dev_t st_dev;
- long __st_padding1[2];
+ unsigned st_dev;
+ long __st_padding1[3];
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
- dev_t st_rdev;
- long __st_padding2[2];
+ unsigned st_rdev;
+ long __st_padding2[3];
off_t st_size;
long st_atime_sec;
long st_atime_nsec;