Explorar o código

make type of st_dev explicitly dev_t in x86_64 stat.h

otherwise it's unclear that it's correct. aside from that, it makes
for a gratuitous difference between the x86_64 header and the upcoming
x32 header.
Rich Felker %!s(int64=11) %!d(string=hai) anos
pai
achega
7acbbdfd5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/x86_64/bits/stat.h

+ 1 - 1
arch/x86_64/bits/stat.h

@@ -2,7 +2,7 @@
  * by the corresponding correctly-sized userspace types. */
 
 struct stat {
-	unsigned long st_dev;
+	dev_t st_dev;
 	ino_t st_ino;
 	nlink_t st_nlink;