diff options
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/find.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/find.cpp b/Userland/Utilities/find.cpp index 700d0a50ca..196656ab1d 100644 --- a/Userland/Utilities/find.cpp +++ b/Userland/Utilities/find.cpp @@ -465,8 +465,8 @@ static void walk_tree(const char* root_path, Command& command) int main(int argc, char* argv[]) { - auto root_path = parse_options(argc, argv); + LexicalPath root_path(parse_options(argc, argv)); auto command = parse_all_commands(argv); - walk_tree(root_path, *command); + walk_tree(root_path.string().characters(), *command); return g_there_was_an_error ? 1 : 0; } |