diff options
Diffstat (limited to 'Kernel/FileSystem/SysFSComponent.cpp')
-rw-r--r-- | Kernel/FileSystem/SysFSComponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/SysFSComponent.cpp b/Kernel/FileSystem/SysFSComponent.cpp index 7bf0278619..1df44166b3 100644 --- a/Kernel/FileSystem/SysFSComponent.cpp +++ b/Kernel/FileSystem/SysFSComponent.cpp @@ -21,7 +21,7 @@ static size_t allocate_inode_index() } SysFSComponent::SysFSComponent(StringView name) - : m_name(KString::try_create(name).release_nonnull()) + : m_name(KString::try_create(name).release_value()) // FIXME: Handle KString allocation failure. , m_component_index(allocate_inode_index()) { } |