summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/semaphore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/semaphore.cpp')
-rw-r--r--Userland/Libraries/LibC/semaphore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/semaphore.cpp b/Userland/Libraries/LibC/semaphore.cpp
index 12d39eb4ee..10a302c638 100644
--- a/Userland/Libraries/LibC/semaphore.cpp
+++ b/Userland/Libraries/LibC/semaphore.cpp
@@ -48,7 +48,7 @@ static ErrorOr<DeprecatedString> sem_name_to_path(char const* name)
StringBuilder builder;
TRY(builder.try_append(sem_path_prefix));
TRY(builder.try_append(name_view));
- return builder.build();
+ return builder.to_deprecated_string();
}
struct NamedSemaphore {