summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibLine/InternalFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibLine/InternalFunctions.cpp')
-rw-r--r--Userland/Libraries/LibLine/InternalFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibLine/InternalFunctions.cpp b/Userland/Libraries/LibLine/InternalFunctions.cpp
index 00c39badeb..9286caa46b 100644
--- a/Userland/Libraries/LibLine/InternalFunctions.cpp
+++ b/Userland/Libraries/LibLine/InternalFunctions.cpp
@@ -553,10 +553,10 @@ void Editor::edit_in_external_editor()
};
Vector<const char*> args { editor_command, file_path, nullptr };
- auto pid = vfork();
+ auto pid = fork();
if (pid == -1) {
- perror("vfork");
+ perror("fork");
return;
}