summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX/sys/statvfs.h
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-03-29 02:53:12 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-03 19:15:14 +0200
commit4ba39c8d6386989c4b7b51bbda409092fad4cd63 (patch)
tree8c7eead4beb4d010e3f1be33b75cdd18049d1d20 /Kernel/API/POSIX/sys/statvfs.h
parent8209c2b5707db24a8552c6ce8f361f9c49804dec (diff)
downloadserenity-4ba39c8d6386989c4b7b51bbda409092fad4cd63.zip
Kernel: Implement `f_basetype` in statvfs
Diffstat (limited to 'Kernel/API/POSIX/sys/statvfs.h')
-rw-r--r--Kernel/API/POSIX/sys/statvfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/sys/statvfs.h b/Kernel/API/POSIX/sys/statvfs.h
index 9b09ccee87..cb3ce6ddd8 100644
--- a/Kernel/API/POSIX/sys/statvfs.h
+++ b/Kernel/API/POSIX/sys/statvfs.h
@@ -15,6 +15,8 @@ extern "C" {
#define ST_RDONLY 0x1
#define ST_NOSUID 0x2
+#define FSTYPSZ 16
+
struct statvfs {
unsigned long f_bsize;
unsigned long f_frsize;
@@ -29,6 +31,8 @@ struct statvfs {
unsigned long f_fsid;
unsigned long f_flag;
unsigned long f_namemax;
+
+ char f_basetype[FSTYPSZ];
};
#ifdef __cplusplus