summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-12-21 01:28:59 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-21 01:28:59 +0100
commit5911d1c880e9b11d30fe8c9733c561f4c80637a0 (patch)
tree07326368da70bb8c8af6f062d6cb9811c44ab33e /Userland/Libraries
parent7f5d060450265f582f6bd6fef2958e8ddca1568a (diff)
downloadserenity-5911d1c880e9b11d30fe8c9733c561f4c80637a0.zip
LibCore: Fix Lagom build of Core::System::utime()
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibCore/System.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/System.cpp b/Userland/Libraries/LibCore/System.cpp
index 465a936309..aa8d2ac075 100644
--- a/Userland/Libraries/LibCore/System.cpp
+++ b/Userland/Libraries/LibCore/System.cpp
@@ -550,7 +550,7 @@ ErrorOr<void> utime(StringView path, Optional<struct utimbuf> maybe_buf)
HANDLE_SYSCALL_RETURN_VALUE("utime"sv, rc, {});
#else
String path_string = path;
- if (::utime(path.characters(), buf) < 0)
+ if (::utime(path_string.characters(), buf) < 0)
return Error::from_syscall("utime"sv, -errno);
return {};
#endif