Browse Source

fix statvfs.c to match new fsid_t definition

Rich Felker 13 năm trước cách đây
mục cha
commit
246e15c0dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/stat/statvfs.c

+ 1 - 1
src/stat/statvfs.c

@@ -34,7 +34,7 @@ static void fixup(struct statvfs *out, const struct statfs *in)
 	out->f_files = in->f_files;
 	out->f_files = in->f_files;
 	out->f_ffree = in->f_ffree;
 	out->f_ffree = in->f_ffree;
 	out->f_favail = 0;
 	out->f_favail = 0;
-	out->f_fsid = in->f_fsid.val[0];
+	out->f_fsid = in->f_fsid.__val[0];
 	out->f_flag = in->f_flags;
 	out->f_flag = in->f_flags;
 	out->f_namemax = in->f_namelen;
 	out->f_namemax = in->f_namelen;
 }
 }