summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-10 20:15:58 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-10 20:16:18 +0100
commit416c7ac2b5a9f01665637bfd9b9d124f5ffaf571 (patch)
treee5b80f4d9ed421367f63cdeef752be3292bcd283 /Libraries
parent0695ff8282eca40ab08300c5a9be8716d453aee6 (diff)
downloadserenity-416c7ac2b5a9f01665637bfd9b9d124f5ffaf571.zip
Kernel: Rename Syscall::SyscallString => Syscall::StringArgument
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibC/unistd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibC/unistd.cpp b/Libraries/LibC/unistd.cpp
index 658291b478..8d63256b4a 100644
--- a/Libraries/LibC/unistd.cpp
+++ b/Libraries/LibC/unistd.cpp
@@ -67,8 +67,8 @@ int execve(const char* filename, char* const argv[], char* const envp[])
};
Syscall::SC_execve_params params;
- params.arguments.strings = (Syscall::SyscallString*)alloca(arg_count * sizeof(Syscall::SyscallString));
- params.environment.strings = (Syscall::SyscallString*)alloca(env_count * sizeof(Syscall::SyscallString));
+ params.arguments.strings = (Syscall::StringArgument*)alloca(arg_count * sizeof(Syscall::StringArgument));
+ params.environment.strings = (Syscall::StringArgument*)alloca(env_count * sizeof(Syscall::StringArgument));
params.path = { filename, strlen(filename) };
copy_strings(argv, arg_count, params.arguments);