From 5911d1c880e9b11d30fe8c9733c561f4c80637a0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 21 Dec 2021 01:28:59 +0100 Subject: [PATCH] LibCore: Fix Lagom build of Core::System::utime() --- Userland/Libraries/LibCore/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 utime(StringView path, Optional 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