[klibc] [patch] fix defintion of struct statfs64

maximilian attems maks at sternwelten.at
Sat Dec 17 16:45:14 PST 2005


From: Steve Langasek <vorlon at debian.org>

Fix the definition of struct statfs64,
required for run-init to work on alpha.

verified to have no regressions on amd64.

Signed-off-by: maximilian attems <janitor at sternwelten.at>
Signed-off-by: Frederik Schüler <fschueler-guest at costa.debian.org>

--- klibc-1.1.1.orig/include/sys/vfs.h
+++ klibc-1.1.1/include/sys/vfs.h
@@ -32,17 +32,17 @@
 #else /* _BITSIZE == 64 */
 
 struct statfs {
-        uint64_t f_type;
-        uint64_t f_bsize;
+        uint32_t f_type;
+        uint32_t f_bsize;
         uint64_t f_blocks;
         uint64_t f_bfree;
         uint64_t f_bavail;
         uint64_t f_files;
         uint64_t f_ffree;
         __kernel_fsid_t f_fsid;
-        uint64_t f_namelen;
-        uint64_t f_frsize;
-        uint64_t f_spare[5];
+        uint32_t f_namelen;
+        uint32_t f_frsize;
+        uint32_t f_spare[5];
 };
 
 #endif /* _BITSIZE */



More information about the klibc mailing list