|
60 | 60 | }
|
61 | 61 |
|
62 | 62 | pub struct statfs {
|
63 |
| - pub f_type: ::c_ulong, |
64 |
| - pub f_bsize: ::c_ulong, |
| 63 | + pub f_type: ::c_uint, |
| 64 | + pub f_bsize: ::c_uint, |
65 | 65 | pub f_blocks: ::fsblkcnt_t,
|
66 | 66 | pub f_bfree: ::fsblkcnt_t,
|
67 | 67 | pub f_bavail: ::fsblkcnt_t,
|
68 | 68 | pub f_files: ::fsfilcnt_t,
|
69 | 69 | pub f_ffree: ::fsfilcnt_t,
|
70 | 70 | pub f_fsid: ::fsid_t,
|
71 |
| - pub f_namelen: ::c_ulong, |
72 |
| - pub f_frsize: ::c_ulong, |
73 |
| - pub f_flags: ::c_ulong, |
74 |
| - pub f_spare: [::c_ulong; 4], |
| 71 | + pub f_namelen: ::c_uint, |
| 72 | + pub f_frsize: ::c_uint, |
| 73 | + pub f_flags: ::c_uint, |
| 74 | + pub f_spare: [::c_uint; 4], |
75 | 75 | }
|
76 | 76 |
|
77 | 77 | pub struct statfs64 {
|
78 |
| - pub f_type: ::c_ulong, |
79 |
| - pub f_bsize: ::c_ulong, |
| 78 | + pub f_type: ::c_uint, |
| 79 | + pub f_bsize: ::c_uint, |
80 | 80 | pub f_blocks: ::fsblkcnt_t,
|
81 | 81 | pub f_bfree: ::fsblkcnt_t,
|
82 | 82 | pub f_bavail: ::fsblkcnt_t,
|
83 | 83 | pub f_files: ::fsfilcnt_t,
|
84 | 84 | pub f_ffree: ::fsfilcnt_t,
|
85 | 85 | pub f_fsid: ::fsid_t,
|
86 |
| - pub f_namelen: ::c_ulong, |
87 |
| - pub f_frsize: ::c_ulong, |
88 |
| - pub f_flags: ::c_ulong, |
89 |
| - pub f_spare: [::c_ulong; 4], |
| 86 | + pub f_namelen: ::c_uint, |
| 87 | + pub f_frsize: ::c_uint, |
| 88 | + pub f_flags: ::c_uint, |
| 89 | + pub f_spare: [::c_uint; 4], |
90 | 90 | }
|
91 | 91 | }
|
92 | 92 |
|
|
0 commit comments