about summary refs log tree commit diff
path: root/arch/mipsn32/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/mipsn32/kstat.h
parent01ae3fc6d48f4a45535189b7a6db286535af08ca (diff)
downloadmusl-fa7d4218c7038cb4bd29cbdf693306118b324030.tar.gz
musl-fa7d4218c7038cb4bd29cbdf693306118b324030.tar.xz
musl-fa7d4218c7038cb4bd29cbdf693306118b324030.zip
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/mipsn32/kstat.h')
-rw-r--r--arch/mipsn32/kstat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mipsn32/kstat.h b/arch/mipsn32/kstat.h
index 7be515c8..3841559c 100644
--- a/arch/mipsn32/kstat.h
+++ b/arch/mipsn32/kstat.h
@@ -1,13 +1,13 @@
 struct kstat {
-	dev_t st_dev;
-	long __pad1[2];
+	unsigned st_dev;
+	long __pad1[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 __pad2[2];
+	unsigned st_rdev;
+	long __pad2[3];
 	off_t st_size;
 	long st_atime_sec;
 	long st_atime_nsec;