about summary refs log tree commit diff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-11 11:20:01 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-11 11:20:01 -0500
commit7acbbdfd5d6e264dcf8efa13188f0c8edabee047 (patch)
tree633a6d342e032a24d20e03385055a2b1adebf1eb /arch/x86_64
parent513136efa4274c39ed1c071ae4f4f2b10118f9f5 (diff)
downloadmusl-7acbbdfd5d6e264dcf8efa13188f0c8edabee047.tar.gz
musl-7acbbdfd5d6e264dcf8efa13188f0c8edabee047.tar.xz
musl-7acbbdfd5d6e264dcf8efa13188f0c8edabee047.zip
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.
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/bits/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/bits/stat.h b/arch/x86_64/bits/stat.h
index 21457961..081237c3 100644
--- a/arch/x86_64/bits/stat.h
+++ b/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;