From 7acbbdfd5d6e264dcf8efa13188f0c8edabee047 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 11 Jan 2014 11:20:01 -0500 Subject: 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. --- arch/x86_64/bits/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') 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; -- cgit v1.2.1