diff --git a/Userland/Utilities/CMakeLists.txt b/Userland/Utilities/CMakeLists.txt index 180c7f52f6d..81b5d61b9ec 100644 --- a/Userland/Utilities/CMakeLists.txt +++ b/Userland/Utilities/CMakeLists.txt @@ -72,7 +72,7 @@ install(CODE "file(CREATE_LINK grep ${CMAKE_INSTALL_PREFIX}/bin/fgrep SYMBOLIC)" install(CODE "file(CREATE_LINK grep ${CMAKE_INSTALL_PREFIX}/bin/rgrep SYMBOLIC)") target_link_libraries(abench PRIVATE LibAudio LibFileSystem) -target_link_libraries(aconv PRIVATE LibAudio) +target_link_libraries(aconv PRIVATE LibAudio LibFileSystem) target_link_libraries(aplay PRIVATE LibAudio LibFileSystem LibIPC) target_link_libraries(asctl PRIVATE LibAudio LibIPC) target_link_libraries(bt PRIVATE LibSymbolication) diff --git a/Userland/Utilities/aconv.cpp b/Userland/Utilities/aconv.cpp index e2f524a1524..c479e516166 100644 --- a/Userland/Utilities/aconv.cpp +++ b/Userland/Utilities/aconv.cpp @@ -9,8 +9,8 @@ #include #include #include -#include #include +#include #include #include @@ -80,9 +80,9 @@ ErrorOr serenity_main(Main::Arguments arguments) return Error::from_string_view("Output format must be specified manually when writing to standard output"sv); if (input != "-"sv) - TRY(Core::System::unveil(Core::DeprecatedFile::absolute_path(input), "r"sv)); + TRY(Core::System::unveil(TRY(FileSystem::absolute_path(input)), "r"sv)); if (output != "-"sv) - TRY(Core::System::unveil(Core::DeprecatedFile::absolute_path(output), "rwc"sv)); + TRY(Core::System::unveil(TRY(FileSystem::absolute_path(output)), "rwc"sv)); TRY(Core::System::unveil(nullptr, nullptr)); RefPtr input_loader;