summaryrefslogtreecommitdiff
path: root/Userland/Utilities/mkdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/mkdir.cpp')
-rw-r--r--Userland/Utilities/mkdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/mkdir.cpp b/Userland/Utilities/mkdir.cpp
index 30a3c1eb92..d464aa2a36 100644
--- a/Userland/Utilities/mkdir.cpp
+++ b/Userland/Utilities/mkdir.cpp
@@ -63,7 +63,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto& part = parts[idx];
path_builder.append(part);
- auto path = path_builder.build();
+ auto path = path_builder.to_deprecated_string();
struct stat st;
if (stat(path.characters(), &st) < 0) {