diff options
author | Andreas Kling <kling@serenityos.org> | 2021-12-21 01:28:59 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-21 01:28:59 +0100 |
commit | 5911d1c880e9b11d30fe8c9733c561f4c80637a0 (patch) | |
tree | 07326368da70bb8c8af6f062d6cb9811c44ab33e /Userland/Libraries | |
parent | 7f5d060450265f582f6bd6fef2958e8ddca1568a (diff) | |
download | serenity-5911d1c880e9b11d30fe8c9733c561f4c80637a0.zip |
LibCore: Fix Lagom build of Core::System::utime()
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibCore/System.cpp | 2 |
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 |