소스 검색

fix the fsid_t structure to match name of __val

this is a case of poorly written man pages not matching the actual
implementation, and why i hate implementing nonstandard interfaces
with no actual documentation of how they're intended to work.
Rich Felker 13 년 전
부모
커밋
32b82cf5cd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/sys/statfs.h

+ 1 - 1
include/sys/statfs.h

@@ -4,7 +4,7 @@
 #include <sys/statvfs.h>
 
 typedef struct {
-	int val[2];
+	int __val[2];
 } fsid_t;
 
 #include <bits/statfs.h>