summaryrefslogtreecommitdiff
path: root/Userland/Utilities/tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/tree.cpp')
-rw-r--r--Userland/Utilities/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/tree.cpp b/Userland/Utilities/tree.cpp
index b5e0e417c5..47fe53e34f 100644
--- a/Userland/Utilities/tree.cpp
+++ b/Userland/Utilities/tree.cpp
@@ -73,7 +73,7 @@ static void print_directory_tree(DeprecatedString const& root_path, int depth, D
builder.append('/');
}
builder.append(name);
- DeprecatedString full_path = builder.to_string();
+ DeprecatedString full_path = builder.to_deprecated_string();
struct stat st;
int rc = lstat(full_path.characters(), &st);