summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/SysFS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/SysFS.cpp')
-rw-r--r--Kernel/FileSystem/SysFS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/SysFS.cpp b/Kernel/FileSystem/SysFS.cpp
index d3ac479ffb..fe790cae68 100644
--- a/Kernel/FileSystem/SysFS.cpp
+++ b/Kernel/FileSystem/SysFS.cpp
@@ -137,7 +137,7 @@ InodeMetadata SysFSInode::metadata() const
metadata.mode = S_IFREG | m_associated_component->permissions();
metadata.uid = 0;
metadata.gid = 0;
- metadata.size = 0;
+ metadata.size = m_associated_component->size();
metadata.mtime = mepoch;
return metadata;
}