Browse Source

Fix from John Rigby to fix stat() so it actually works.

Eric Andersen 23 years ago
parent
commit
b407708461
1 changed files with 4 additions and 1 deletions
  1. 4 1
      libc/sysdeps/linux/mips/bits/types.h

+ 4 - 1
libc/sysdeps/linux/mips/bits/types.h

@@ -58,7 +58,10 @@ __extension__ typedef unsigned long long int __uint64_t;
 #endif
 typedef __quad_t *__qaddr_t;
 
-typedef __u_quad_t __dev_t;		/* Type of device numbers.  */
+/* changed to be more compatible with kernel */
+/*typedef __u_quad_t __dev_t;*/		/* Type of device numbers.  */
+typedef __u_int __dev_t;		/* Type of device numbers.  */
+
 typedef __u_int __uid_t;		/* Type of user identifications.  */
 typedef __u_int __gid_t;		/* Type of group identifications.  */
 typedef __u_long __ino_t;		/* Type of file serial numbers.  */